[Haskell-cafe] Re: Deepest functor [was: fmap for lists of lists of
lists of ...]
haskell at sleepingsquirrel.org
Wed Mar 15 12:39:37 EST 2006
oleg at pobox.com wrote:
> The code below is more general that required. It also generic: it
> works for any Functor and any combination of Functors. It performs
> fmap over arbitrarily deep `collections': lists of maybes of maps of
> IOs, etc. -- arbitrarily nested fmappable things.
Excellent. I guess I'll be brushing up on my typeclass-fu in order
to figure out how all this works.
More information about the Haskell-Cafe