]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/calendar/format/macros/macros.factor
factor: Rename MACRO: and MACRO: to have quot as the output in stack effects.
[factor.git] / basis / calendar / format / macros / macros.factor
index 6d6dd3ae235e02c43b6913d8a92291409019e7a6..901fe2267c439a08fdf407527d2ca1302a6cee47 100644 (file)
@@ -2,7 +2,7 @@ USING: macros kernel words quotations io sequences combinators
 continuations ;
 IN: calendar.format.macros
 
-MACRO: formatted ( spec -- )
+MACRO: formatted ( spec -- quot )
     [
         {
             { [ dup word? ] [ 1quotation ] }
@@ -11,7 +11,7 @@ MACRO: formatted ( spec -- )
         } cond
     ] map [ cleave ] curry ;
 
-MACRO: attempt-all-quots ( quots -- )
+MACRO: attempt-all-quots ( quots -- quot )
     dup length 1 = [ first ] [
         unclip swap
         [ nip attempt-all-quots ] curry