[Haskell-cafe] Re: Deepest functor [was: fmap for lists of lists of lists of ...]

Greg Buchholz greg at sleepingsquirrel.org
Wed Mar 15 12:35:29 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.


Greg Buchholz

More information about the Haskell-Cafe mailing list