Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Broken GeneralizedNewtypeDeriving in ghc 7.8 #16
Some of my code is broken with the newest version of ghc (7.8.2).
I'm using GeneralizedNewtypeDeriving to deriving instances of Data.Vector.Unbox using the following:
where VoxelPos have manual rolled instances using (Int, Int, Int):
and this was working with the previous versions of ghc. But after upgrading ghc, I get the following error:
What are the possible solutions to solve this?
I don't think this is currently fixable within vector. Role annotations
For now, I've used