Collecting values from Functors?

Graham Klyne gk@ninebynine.org
Wed, 04 Jun 2003 19:09:10 +0100


I'm trying to figure if there's any way I can use (say) monads to collect 
values from a Functor.

For example, suppose I have a tree of some values that supports fmap, is 
there any way I can use the fmap function to collect a list of all the node 
values?

#g


-------------------
Graham Klyne
<GK@NineByNine.org>
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E