News for hackers. Stuff that matters.
Re:Some Notes About How I Write Haskell by mrkgnao on Wednesday February 21, 2018 @09:29AM (#16429647)
This is a nifty thing made possible by the MonadFail class, which defines how a monad treats or recovers from a failed pattern-match.

    When a value is bound in do-notation, the pattern on the
    left hand side of <- might not match. In this case, this 
    class provides a function to recover.
https://hackage.haskell.org/package/base-4.10.1.0/docs/Contr...

There are no comments on this comment yet.