You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I have Enum, Bounded orphan instance for Pairs (,) and Either types. And I'm looking to add an Enum instance for the List [] type.
The reason for this is that this instances are needed in order to lift functions to relations and to define a couple of relational operators.
Since this orphan instances can be harmful because they might not be what one would exactly desire maybe it would be a better alternative to have newtype wrappers around them like:
This would have impact on usability as it would not be as straightforward to lift a function to matrix/Relation. coerce could be of use like when using Natural.
Right now I have
Enum
,Bounded
orphan instance for Pairs(,)
andEither
types. And I'm looking to add anEnum
instance for the List[]
type.The reason for this is that this instances are needed in order to lift functions to relations and to define a couple of relational operators.
Since this orphan instances can be harmful because they might not be what one would exactly desire maybe it would be a better alternative to have newtype wrappers around them like:
The text was updated successfully, but these errors were encountered: