[Haskell-beginners] Finding the first successful Map.lookup

John Obbele john.obbele at gmail.com
Thu Dec 2 17:37:51 CET 2010


Hi Johan & Daniel,

thanks for you answers. I had forgotten the MonadPlus/msum and
the trick to use undefined.

... althought the trick with undefined here takes me quiet some
time to grasp it ... but now I know my function works lazily.

regards,
/John



More information about the Beginners mailing list