On Fri, May 23, 2008 at 10:55 AM, Jules Bean <[EMAIL PROTECTED]> wrote:
> Krasimir Angelov wrote:
>>
>> The monads design is used in Data.Map i.e.
>>
>> lookup :: (Monad m, Ord k) => k -> Map k a -> m a
>
> which is widely considered a poor design decision and a wart on Data.Map.

It is?  Can you point to somewhere explaining that?  I rather liked that idiom.

Luke
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to