Closed sjakobi closed 4 years ago
This is most likely due to template-haskell-2.16.0.0
introducing the Bytes
data type to Lit
, whose constructor uses ForeignPtr
. Since there is no Store
instance for Bytes
, reifyManyWithoutInstances
attempts to recursively define Store
instances for Bytes
and everything mentioned in its constructor. This includes ForeignPtr
, IO
, and friends.
Yep, that's exactly what's happening @RyanGlScott - I'm working on fixing it.
I've written the instances, the thing I'm encountering right now is that Bytes
uses derived instances of Eq / Ord / etc which are comparing pointers and such rather than the contents of the bytes. Which sucks, because it breaks the roundtrip properties.
Fixed in store-0.7.3
!
Oops, didn't use enough CPP. This time I will wait until travis is green before pushing to hackage
Properly fixed in store-0.7.4
Thank you! :)