nick8325 / quickcheck

Automatic testing of Haskell programs.
Other
713 stars 119 forks source link

Make templateHaskell flag manual #327

Closed phadej closed 3 years ago

phadej commented 3 years ago

So it isn't triggered by cabal-solver automatically.

This patch also makes use of TemplateHaskellQuotes extension on GHC-8.0+ https://downloads.haskell.org/ghc/latest/docs/html/users_guide/glasgow_exts.html?highlight=templatehaskellquotes#extension-TemplateHaskellQuotes

This extension allows to make some quotes, even when GHC doesn't support TemplateHaskell (e.g. ghc-stage1).

This way template haskell functionality can be always compiled.

This way making templateHaskell flag manual doesn't hurt, as its default True value shouldn't pose problems.