]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/memoize/syntax/syntax.factor
memoize.syntax: adding IDENTITY-MEMO[
[factor.git] / basis / memoize / syntax / syntax.factor
index d95a2f79c7bdcf0631b5df81bd4a1b54e7245071..fbf97a9e3e6d0b345391b469672183ca3890ec75 100644 (file)
@@ -2,4 +2,8 @@ USING: kernel memoize parser sequences stack-checker ;
 
 IN: memoize.syntax
 
-SYNTAX: MEMO[ parse-quotation dup infer memoize-quot suffix! ;
+SYNTAX: MEMO[
+    parse-quotation dup infer memoize-quot suffix! ;
+
+SYNTAX: IDENTITY-MEMO[
+    parse-quotation dup infer identity-memoize-quot suffix! ;