tschrijv / AutBound

Code voor Abstract Syntax Tree Code Generator for Haskell-based Com- and Transpilers
1 stars 0 forks source link

Custom Eq implementation #7

Open VonTum opened 4 years ago

VonTum commented 4 years ago

At least allow conditional removal of the Eq in deriving(Eq, Show) for implementing custom equality operators, for example for the equality of a commuting sort constructor.

Perhaps even adding directives to terms that commute, or that associate with each other so that adequate Eq implementations can be generated.