Export lists in modules

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Tue Feb 28 06:25:48 EST 2006


Malcolm Wallace wrote:
> 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) { ... }

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

OK, then show me an "instance Functor Set" so that I can use it :-)
-- 
-- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 --
---- http://www.imn.htwk-leipzig.de/~waldmann/ -------



More information about the Haskell-prime mailing list