mokus0 / th-extras

A grab bag of useful functions for use with Template Haskell
4 stars 14 forks source link

Support GHC 9.2.1 #15

Open Ailrun opened 2 years ago

Ailrun commented 2 years ago

Currently, I got this error:

src/Language/Haskell/TH/Extras.hs:60:18: error:
    • The constructor ‘ConP’ should have 3 arguments, but has been given 2
    • In the pattern: ConP _ pats
      In an equation for ‘namesBoundInPat’:
          namesBoundInPat (ConP _ pats) = pats >>= namesBoundInPat
   |
60 | namesBoundInPat (ConP _ pats)           = pats >>= namesBoundInPat
   |                  ^^^^^^^^^^^

Relevant: https://hackage.haskell.org/package/template-haskell-2.18.0.0/docs/Language-Haskell-TH.html#v:ConP

andreasabel commented 1 year ago

Fixed, please close.