Export lists in modules

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Feb 28 05:08:47 EST 2006

Johannes Waldmann <waldmann at imn.htwk-leipzig.de> wrote:

> For reference, in Java, ...  there's nice syntactic sugar for looping
> over collections:  Collection<E> c; for (E item : c) { ... }
> I'd say this is an example of moving away from a left-biased
> representation, or at least freeing the programmer from having
> to think about it).

In Haskell, this is called 'fmap'.  :-)


More information about the Haskell-prime mailing list