There is also Data.Functor.Bind which provides a 'semimonad' (perhaps that would have been a better name) for Map and other types that can't offer 'pure' as well.
I see, what I need is the Apply class from that package. Fortunately Data.Map is already an instance of the Apply class.
On Wed, 14 Nov 2012, Brent Yorgey wrote:
Precisely. See edwardk's package
http://hackage.haskell.org/package/semigroupoids
which defines this and many other related things.
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://www.haskell.org/mailman/listinfo/libraries