haskell / primitive

This package provides various primitive memory-related operations.
Other
114 stars 58 forks source link

`primitive` fails to compile for 7.10 #337

Closed konsumlamm closed 2 years ago

konsumlamm commented 2 years ago

332 introduced Lift instances. However, this uses the TemplateHaskellQuotes extension, which is only available since GHC 8.0. There are several options how to resolve this:

EDIT: The Lift instances also use emptyArray#/emptySmallArray#, which isn't available either for GHC 7.10.

andrewthad commented 2 years ago

I'm fine with just dropping support for 7.10.