Data.Set.findMin is a partial function
taralx at gmail.com
Mon Dec 11 10:12:05 EST 2006
On 12/11/06, Henning Thielemann <lemming at henning-thielemann.de> wrote:
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. Calling code
if Set.null set then
... (Set.findMin set) ...
Taral <taralx at gmail.com>
"You can't prove anything."
-- Gödel's Incompetence Theorem
More information about the Libraries