]> gitweb.factorcode.org Git - factor.git/blobdiff - core/sequences/sequences.factor
modulization of ui.frp
[factor.git] / core / sequences / sequences.factor
index 51df59627836f32c306385108ac8c4d211178a4b..a86c5012583c41bd5ca494065d9a39a890dc78cb 100755 (executable)
@@ -927,4 +927,6 @@ PRIVATE>
     list empty?
     [ identity ]
     [ list rest identity quot reduce-r list first quot call ] if ;
-    inline recursive
\ No newline at end of file
+    inline recursive
+
+:: combos ( list1 list2 -- result ) list2 [ [ 2array ] curry list1 swap map ] map concat ;
\ No newline at end of file