
28 Feb
2006
28 Feb
'06
6:25 a.m.
Malcolm Wallace wrote:
Johannes Waldmann
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/ -------