Open ndmitchell opened 6 years ago
Originally reported at https://github.com/ndmitchell/hlint/issues/332 by @MHova, an example:
{-# LANGUAGE TemplateHaskell #-} module Example where import Language.Haskell.TH (TExp, Q) example :: Q (TExp String) example = [|| "whatever" ||]
Gives a parse error on [|| as typed quotes are not supported.
[||
+1 Both hindent and hlint suffer from this.
hindent
hlint
I'm open to PRs, and would love to make this improvement, but I am unlikely to address this myself anytime soon.
Originally reported at https://github.com/ndmitchell/hlint/issues/332 by @MHova, an example:
Gives a parse error on
[||
as typed quotes are not supported.