22 Apr 23:26
Recursive fry
From: Slava Pestov <slava@...>
Subject: Recursive fry
Newsgroups: gmane.comp.lang.factor.general
Date: 2008-04-22 21:28:40 GMT
Subject: Recursive fry
Newsgroups: gmane.comp.lang.factor.general
Date: 2008-04-22 21:28:40 GMT
Hi all,
A few people asked for this so I implemented it. You can now use fry
directives in nested quotations:
3 1 '[ , [ , + ] map ] call
=> { 1 2 3 }
This is equivalent to
3 1 '[ , , '[ , + ] map ] call
And in fact it is implemented in this way.
Slava
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
RSS Feed