]> gitweb.factorcode.org Git - factor.git/commitdiff
tools.cocoa: fix use of each-method-in-class.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 13 Mar 2018 20:28:35 +0000 (13:28 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 13 Mar 2018 20:28:35 +0000 (13:28 -0700)
basis/tools/cocoa/cocoa.factor

index 9dd1895a6808b33a450eb6d53a17086903af64e6..fd0c768a8f2408cd65d29714e00f0da156d447dd 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2008 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: arrays cocoa.messages cocoa.runtime combinators
-prettyprint combinators.smart ;
+USING: cocoa.messages cocoa.runtime combinators
+combinators.smart kernel prettyprint ;
 IN: tools.cocoa
 
 : method. ( method -- )
@@ -15,4 +15,4 @@ IN: tools.cocoa
     ] output>array . ;
 
 : methods. ( class -- )
-    [ method. ] each-method-in-class ;
+    [ nip method. ] each-method-in-class ;