[REBOL] Re: A "supercharged" Map function.
From: andrew:martin:colenso:school at: 23-Jul-2003 9:05
Brett wrote:
> map :parse [ [1] [integer!] [a 2] [word integer!]]
Hi, Brett!
I think you meant:
map :parse [ [1] [integer!] [a 2] [word! integer!]]
As for evaluation of the series elements, if one wants the series
elements evaluated:
map :add reduce [now/date 3 now/date 4]
Using 'reduce would seem to be easier and fit better with Rebol?
And now what we really need is a 'map shootout! :)
Andrew J Martin
Attendance Officer &
Information Systems Trouble Shooter
Colenso High School
Arnold Street, Napier.
Tel: 64-6-8310180 ext 826
Fax: 64-6-8336759
http://colenso.net/scripts/Wiki.r?AJM
http://www.colenso.school.nz/
DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally
liable) for materials distributed to or acquired from user e-mail accounts. You can report
any
misuse of an e-mail account to our ICT Manager and the complaint will be investigated.
(Misuse can come in many forms, but can be viewed as any material sent/received that
indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, inappropriate
language and/or other issues described in our Acceptable Use Policy.)
All outgoing messages are certified virus-free by McAfee GroupShield Exchange 5.10.285.0
Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [postmaster--colenso--school--nz]