Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: COLLECTing results

From: brett:codeconscious at: 26-Nov-2003 22:21

> >collect: func [ > > {Collects block evaluations, use as body in For, Repeat, etc.}
...
> I am sorry I missed your contribution on the subject somehow. I like it.
I like the way it underlines how the body of a looping function has an independent existence. It amuses me to think of it as a just-in-time expression factory.
> My two cents changing the behaviour of the function in cases like: > > foreach head heads [...] > foreach insert inserts [...] > foreach tail tails [...] > foreach do does [...] > > use [insert-only] [
... Thanks. Regards, Brett.