bmillwood / haskell-src-meta

Maintenance of Matt Morrow's package for parsing haskell source to a TH AST.
27 stars 51 forks source link

Incompatible API change in haskell-src-exts? #46

Closed eigengrau closed 8 years ago

eigengrau commented 9 years ago

Compiling HEAD in conjunction with the current HEAD of haskell-src-exts (ef840ec) gives me:

src/Language/Haskell/Meta/Syntax/Translate.hs:450:78:
    Couldn't match expected type ‘Hs.Binds’
                with actual type ‘Maybe Hs.Binds’
    In the first argument of ‘hsBindsToDecs’, namely ‘bnds’
    In the third argument of ‘ValD’, namely ‘(hsBindsToDecs bnds)’

src/Language/Haskell/Meta/Syntax/Translate.hs:515:64:
    Couldn't match expected type ‘Hs.Binds’
                with actual type ‘Maybe Hs.Binds’
    In the first argument of ‘hsBindsToDecs’, namely ‘bnds’
    In the third argument of ‘Clause’, namely ‘(hsBindsToDecs bnds)’

I think HS stems from haskell-src-exts? Thought I’d ping you about the potential API change.

mainland commented 8 years ago

haskell-src-exts 1.17 is now supported.