The NonEmpty data-type has been added to base for a long time and with the recent addition of the Foldable1 type-class to base, NonEmpty is receiving an implicit push for standardized usage. Unfortunately, sbv does not expose very useful type-class instances for NonEmpty making it's utilization with sbv unnecessarily cumbersome.
In a recent project I have worked on, ended up creating orphan NonEmpty instances for the following:
EqSymbolic
Mergeable
OrdSymbolic
It would be wonderful if these (and perhaps other relevant) type-class instances can be added for NonEmpty.
The
NonEmpty
data-type has been added tobase
for a long time and with the recent addition of theFoldable1
type-class tobase
,NonEmpty
is receiving an implicit push for standardized usage. Unfortunately,sbv
does not expose very useful type-class instances forNonEmpty
making it's utilization withsbv
unnecessarily cumbersome.In a recent project I have worked on, ended up creating orphan
NonEmpty
instances for the following:EqSymbolic
Mergeable
OrdSymbolic
It would be wonderful if these (and perhaps other relevant) type-class instances can be added for
NonEmpty
.