Part of the migration to later versions of ghc(>=8.8).
Fail as part of the Monad class was removed and added to a separate MonadFail class, see link. This causes conflicts with Conjure as it has a custom version of MonadFail implemented that is not compatible with the existing one.
Changes:
Renamed the existing MonadFail class to MonadFailDoc, denoting the fact that it operates with [Doc] rather than strings.
Added MonadFail constraints to those functions which make use of failable pattern matches.
Updated generator files to use the new Doc versions
Removed the NoMonadFailDesugaring extension as it is no longer used.
Part of the migration to later versions of ghc(>=8.8).
Fail as part of the Monad class was removed and added to a separate MonadFail class, see link. This causes conflicts with Conjure as it has a custom version of MonadFail implemented that is not compatible with the existing one.
Changes:
Testing: