ndmitchell / uniplate

Haskell library for simple, concise and fast generic operations.
Other
76 stars 8 forks source link

Doesn't compile against ghc 901 #31

Closed expipiplus1 closed 4 years ago

expipiplus1 commented 4 years ago
Data/Generics/Uniplate/Internal/Utils.hs:26:17: error:
    Module ‘GHC.Exts’ does not export ‘SpecConstrAnnotation(..)’
   |
26 | import GHC.Exts(SpecConstrAnnotation(..))
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^
ndmitchell commented 4 years ago

Thanks for the heads up!

Apparently I should be using https://hackage.haskell.org/package/ghc-prim-0.6.1/docs/GHC-Types.html#t:SPEC - but that adds a dependency on ghc-prim which is a bit sad. https://gitlab.haskell.org/ghc/ghc/-/issues/13681 is the issue that removed it. I'll await confirmation from the GHC team before fixing it.

expipiplus1 commented 4 years ago

Cool, thanks!

ndmitchell commented 4 years ago

I believe this should now work. I'll make a release later tonight.

ndmitchell commented 4 years ago

1.6.13 now out, let me know if you still have issues.

expipiplus1 commented 4 years ago

Thanks!

On Sun, Nov 8, 2020, 4:01 AM Neil Mitchell notifications@github.com wrote:

Closed #31 https://github.com/ndmitchell/uniplate/issues/31.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ndmitchell/uniplate/issues/31#event-3970173208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGRJXGOQ77VVIEMTWG7WE3SOWROTANCNFSM4TJZVV2Q .