BNFC / bnfc

BNF Converter
http://bnfc.digitalgrammars.com/
578 stars 163 forks source link

Haskell/GADT: produce mtl-2.3 compatible code #438

Closed andreasabel closed 1 year ago

andreasabel commented 1 year ago

Swap the mtl-import Control.Monad.Identity for base imports Control.Monad and Data.Functor.Identity. This secures that the output does not need mtl any more, so no mtl-2.3 conundrums.