Closed jachymb closed 7 years ago
It would be nice to have
cardinality :: Integer cardinality = genericLength universeF
or something like that which could be overridden for efficiency in the UniverseF typeclass.
I think we could merge in commit be644eaa. I originally started that thinking it would help write Enum instances, but I agree it's handy even on its own.
Enum
It would be nice to have
or something like that which could be overridden for efficiency in the UniverseF typeclass.