Data.Set.findMin is a partial function

Henning Thielemann lemming at henning-thielemann.de
Mon Dec 11 10:23:06 EST 2006


On Mon, 11 Dec 2006, Taral wrote:

> On 12/11/06, Henning Thielemann <lemming at henning-thielemann.de> wrote:
> > Opinions?
> 
> Well, you can do this in your code, no? It seems kind of silly to wrap
> it up in a Maybe when the resulting code will case on it.

No, I do 'maybe'. I don't want to repeat the discussion about
fromJust and head:
  http://www.haskell.org/pipermail/haskell-cafe/2006-November/019553.html


More information about the Libraries mailing list