[Haskell-cafe] Why is this strict in its arguments?

Johan Tibell johan.tibell at gmail.com
Wed Dec 5 05:47:22 EST 2007


On Dec 5, 2007 11:44 AM, Jules Bean <jules at jellybean.co.uk> wrote:
> the general pattern is : replace isNothing with a case match on Nothing,
> replace fromJust with a case match on Just, don't be afraid to case two
> expressions at once.

That's a nice little insight. I'll remember that.


More information about the Haskell-Cafe mailing list