Paste: bicurry
Author: | tylerg |
Mode: | factor |
Date: | Thu, 12 Feb 2009 04:39:00 |
Plain Text |
: bicurry ( obj p q -- p' q' )
[ [ curry ] curry ] bi@ bi ;
Author: | randy7 |
Mode: | factor |
Date: | Thu, 12 Feb 2009 08:25:24 |
Plain Text |
: 1bi1@ ( obj p q quot -- objp objq )
[ curry ] curry bi@ bi ;
: 1bi2* ( obj x y x-quot y-quot -- objx objy )
[ [ curry ] curry ] bi@ bi* bi ;
Author: | rand |
Mode: | factor |
Date: | Thu, 12 Feb 2009 09:38:42 |
Plain Text |
for good measure, here's one example. you don't even want to know how it looked like before. ;-)
: find-all ( string from-chr to-chr -- seq )
[ find-all-firsts ] [ find-all-seconds ] 1bi2* close-match get-text ;
Author: | tylerg |
Mode: | factor |
Date: | Thu, 19 Feb 2009 20:54:03 |
Plain Text |
bi-curry is in the kernel! Do I get any credit?
New Annotation