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

[REBOL] Re: Fast transformation?

From: dhsunanda:gmai:l at: 25-Nov-2007 6:06

Kai:
> What is a good way to transform blocks like > > [ [ "Bill" 50 ] [ "Jane" 45 ]]
May have fewer side effects than some of the solutions to date: new-block: copy [] foreach b [ [ "Bill" 50 ] [ "Jane" 45 ]] [ append new-block b ]
>> new-block
== ["Bill" 50 "Jane" 45] Though if you want to deblock more nested structures, some more work is needed. Sunanda