tdammers / ginger

A Haskell implementation of the Jinja template language.
MIT License
77 stars 13 forks source link

Extend mtl and transformers version upper bounds #76

Closed TravisCardwell closed 2 years ago

TravisCardwell commented 2 years ago

This PR adds support for mtl 2.3 and transformers 0.6. Most of the changes are simple changes/additions to imports. The only other change has to do with use of the MonadFail instance of ErrorT in the regular expression support. ErrorT is deprecated, and the MonadFail instance of ExceptT does not do the same thing. The either-result package could be used to resolve this, but I just added a newtype around Either to resolve it without adding a dependency.