Top-level package for the official Snap Framework libraries, includes the snaplets API as well as infrastructure for sessions, auth, and templates.
BSD 3-Clause "New" or "Revised" License
455
stars
68
forks
source link
Fail via fail, not MonadFail, when available #217
Closed
imalsogreg closed 4 years ago
Rely on the
Monad
class definition offail
as long asfail
is a method ofMonad
(all ghc's before 8.2.2).Otherwise, a user calling
fail
inRST
will encounter the default definition offail
, which iserror
.