Data.Set.findMin is a partial function

Henning Thielemann lemming at
Mon Dec 11 10:35:11 EST 2006

On Mon, 11 Dec 2006, Jean-Philippe Bernardy wrote:

> You can try Data.Set.minView.

Seems to be new in GHC-6.6 over GHC-6.4.

I suspect that not really monadic behaviour is needed in minView, but only
the fail method, isn't it? Confusing.

More information about the Libraries mailing list