]> gitweb.factorcode.org Git - factor.git/commitdiff
lazy-lists: remove unneeded helper function
authorchris.double <chris.double@double.co.nz>
Wed, 4 Oct 2006 23:17:21 +0000 (23:17 +0000)
committerchris.double <chris.double@double.co.nz>
Wed, 4 Oct 2006 23:17:21 +0000 (23:17 +0000)
contrib/lazy-lists/lists.factor

index d6e7c1627e84b0f50b1cdb0e3f739f7439a3ec64..296a56d6bde9a8f55ed197cf59a7c21a6c8038a6 100644 (file)
@@ -290,13 +290,6 @@ M: lazy-zip nil? ( lazy-zip -- bool )
 : lcartesian-product ( list1 list2 -- result ) 
   swap [ swap [ 2array ] lmap-with ] lmap-with lconcat ;
 
-: (lcartesian-product*) ( car cdr -- result )
-  dup nil? [ 
-    drop
-  ] [
-    car lcartesian-product 
-  ] if ;
-
 : lcartesian-product* ( lists -- result )
   dup nil? [
     drop nil