]> gitweb.factorcode.org Git - factor.git/commitdiff
Make FORGET: M\ ... work
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 23 Apr 2009 00:36:01 +0000 (19:36 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 23 Apr 2009 00:36:01 +0000 (19:36 -0500)
core/definitions/definitions.factor

index 5dc38083625e603d48dabd73be37e1778cc7030e..6f9fdaecf577f7b88bf1bbc973fbff0de0f01783 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2006, 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: kernel sequences namespaces assocs math ;
+USING: kernel sequences namespaces assocs math accessors ;
 IN: definitions
 
 MIXIN: definition
@@ -41,6 +41,8 @@ GENERIC: forget* ( defspec -- )
 
 M: f forget* drop ;
 
+M: wrapper forget* wrapped>> forget* ;
+
 SYMBOL: forgotten-definitions
 
 : forgotten-definition ( defspec -- )