]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/functors/functors.factor
generic: rename method-body predicate class to method
[factor.git] / basis / functors / functors.factor
index a03463e91171fa2447daf3d5960ab47bc7882a83..ac2e52f68eb415e940bd2b10cc8cc9383b37540b 100644 (file)
@@ -37,7 +37,7 @@ M: array (fake-quotations>)
     [ [ (fake-quotations>) ] each ] { } make , ;
 
 M: fake-call-next-method (fake-quotations>)
-    drop method-body get literalize , \ (call-next-method) , ;
+    drop \ method get literalize , \ (call-next-method) , ;
 
 M: object (fake-quotations>) , ;
 
@@ -74,7 +74,7 @@ FUNCTOR-SYNTAX: MIXIN:
 FUNCTOR-SYNTAX: M:
     scan-param suffix!
     scan-param suffix!
-    [ create-method-in dup method-body set ] append! 
+    [ create-method-in dup \ method set ] append!
     parse-definition*
     \ define* suffix! ;