]> gitweb.factorcode.org Git - factor.git/commitdiff
models.combinators.templates: fix compilation
authorAlexander Ilin <alex.ilin@protonmail.com>
Fri, 1 Sep 2023 21:22:31 +0000 (23:22 +0200)
committerAlexander Ilin <alex.ilin@protonmail.com>
Fri, 1 Sep 2023 21:56:01 +0000 (23:56 +0200)
extra/models/combinators/templates/templates.factor

index d174efcfc583138ca4e6c572580656f952339699..525ee8f144319c63bd918dbeab9fe93b87fb60f3 100644 (file)
@@ -1,7 +1,8 @@
-USING: kernel sequences functors fry macros generalizations ;
+USING: fry functors generalizations kernel macros sequences
+sequences.generalizations ;
 IN: models.combinators.templates
 FROM: models.combinators => <collection> #1 ;
-FUNCTOR: fmaps ( W -- )
+<FUNCTOR: fmaps ( W -- )
 W        IS ${W}
 w-n      DEFINES ${W}-n
 w-2      DEFINES 2${W}
@@ -20,4 +21,4 @@ MACRO: w-n* ( int -- quot ) dup '[ [ _ narray <collection> #1 ] dip [ _ firstn ]
 : w-2* ( a b quot -- mapped ) 2 w-n* ; inline
 : w-3* ( a b c quot -- mapped ) 3 w-n* ; inline
 : w-4* ( a b c d quot -- mapped ) 4 w-n* ; inline
-;FUNCTOR
+;FUNCTOR>