Slava Pestov wrote:

> We don't have a macro for Phil's idiom yet.
>
> Not sure if its worth having an abstraction, but its something to keep
> in the back of your mind.

By the way, the 'parallel-call' in 'combinators.lib' is pretty old code and is 
sorta embarrasing. Here's how it could be written today:

: [spread-array] ( seq -- quot )
  [ length ] [ ] [ length ] tri
 '[ , firstn , spread , narray ] ;

MACRO: spread-array ( seq -- quot ) [spread-array] ;

Ed

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to