]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/inverse/inverse.factor
factor: Rename MACRO: and MACRO: to have quot as the output in stack effects.
[factor.git] / basis / inverse / inverse.factor
index 15b2b33218faaa941632832b8aa89b3fc9d65768..21a4df0f84be45350fb4b51a7f739130ed9ed45d 100644 (file)
@@ -132,7 +132,7 @@ M: pop-inverse inverse
 : [undo] ( quot -- undo )
     flatten fold reverse [ (undo) ] [ ] make ;
 
-MACRO: undo ( quot -- ) [undo] ;
+MACRO: undo ( quot -- quot ) [undo] ;
 
 ! Inverse of selected words
 
@@ -294,4 +294,4 @@ M: no-match summary drop "Fall through in switch" ;
     reverse [ [ [undo] ] dip compose ] { } assoc>map
     recover-chain ;
 
-MACRO: switch ( quot-alist -- ) [switch] ;
+MACRO: switch ( quot-alist -- quot ) [switch] ;