Closed kozross closed 8 years ago
I don't follow, why use IsSequence instead of MonoFoldable?
I wasn't sure how to denote the type properly - I wanted to say 'a MonoFoldable full of t -> t', but wasn't sure how.
Just s/IsSequence/MonoFoldable, you have the right type signature AFAICT
OK, I will make a new PR momentarily.
OK, that should do it.
Cool, thanks!
Note for the future: this PR is a breaking change, and requires a major version bump. We should consider merging it next time we're already doing a major version bump.
Pull request relating to this issue on classy-prelude. I went for a less generic solution than I would have preferred, but IsSequence as a constraint is both general and typesafe.