haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] Data.Tree.Zipper in the standard libraries

Subject: Re: [Haskell-cafe] Data.Tree.Zipper in the standard libraries
From: "Luke Palmer"
Date: Fri, 23 May 2008 17:34:50 +0000
On Fri, May 23, 2008 at 10:55 AM, Jules Bean <jules@xxxxxxxxxxxxxxx> 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
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>