vincenthz / hs-memory

haskell memory
Other
48 stars 38 forks source link

build fix for ghc-8.6 #68

Closed tmcdonell closed 6 years ago

osa1 commented 6 years ago

Ping @vincenthz .

It'd be really helpful if we could merge this and push a new version on Hackage.

NicolasDP commented 6 years ago

Seems like a regression in GHC :-(

RyanGlScott commented 6 years ago

This isn't a regression. The fact that the memory on Hackage stopped building with GHC 8.6.1 is a consequence of the new StarIsType extension (on by default) which substantially simplifies the treatment of * (as a synonym for Type) in GHC's parser, at the expense of requiring users to be explicit when using * as a binary type operator. See the GHC 8.6 Migration Guide for the full story.

DanBurton commented 6 years ago

Thanks for merging this! Is the code in a good state to be uploaded to hackage as memory-0.14.17?