Re: Functions in the relational context

From: -CELKO- <jcelko212_at_earthlink.net>
Date: Sat, 8 Mar 2008 10:54:51 -0800 (PST)
Message-ID: <c20852c4-2b4f-42d9-9bfa-31fba04749ad_at_z17g2000hsg.googlegroups.com>


>> 1. 'map': map f1 list1 -- applying an arbitrary function to an arbitrary list (types have to match naturally)

 map Char.toUpper "Hello World"?

 big deal: <<

I think you missed the point of the map operator. Instead of UPPER(), use string concatenation. For math, use addition to get summation, division to get continued fractions, or exponentiation to get Knuth's hyper exponential operator. APL had something like this, but I cannot remember the symbol. Received on Sat Mar 08 2008 - 19:54:51 CET

Original text of this message