]> gitweb.factorcode.org Git - factor.git/commitdiff
fix map-with stack comment
authorMackenzie Straight <eizneckam@gmail.com>
Fri, 18 Feb 2005 22:41:49 +0000 (22:41 +0000)
committerMackenzie Straight <eizneckam@gmail.com>
Fri, 18 Feb 2005 22:41:49 +0000 (22:41 +0000)
library/lists.factor

index 3a1ba30677db9271d4ae6b9fb1ce721c4cdfec5b..4107c8d7eada823928f3cc75ee690bc05da52514 100644 (file)
@@ -90,7 +90,7 @@ DEFER: tree-contains?
     #! ( X -- Y ) to each element into a new list.
     over [ (each) rot >r map r> swons ] [ drop ] ifte ; inline
 
-: map-with ( obj list quot -- )
+: map-with ( obj list quot -- list )
     #! Push each element of a proper list in turn, and collect
     #! return values of applying a quotation with effect
     #! ( obj elt -- obj ) to each element into a new list.