I think the first two commits are straightforward (assuming you don't care about old GHC). I'm less confident in the second two. Maybe there's a better way. In particular, I don't understand what changed in GHC such that this used to work, nor what the v parameter was for.
I think the first two commits are straightforward (assuming you don't care about old GHC). I'm less confident in the second two. Maybe there's a better way. In particular, I don't understand what changed in GHC such that this used to work, nor what the
v
parameter was for.closes https://github.com/ekmett/indexed/issues/2