diff options
Diffstat (limited to 'src/HSVIS/AST.hs')
-rw-r--r-- | src/HSVIS/AST.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HSVIS/AST.hs b/src/HSVIS/AST.hs index 058f5ac..2986248 100644 --- a/src/HSVIS/AST.hs +++ b/src/HSVIS/AST.hs @@ -100,6 +100,8 @@ data Type s -- extension point | TExt (X Type s) !(E Type s) deriving instance (Show (X Type s), Show (E Type s)) => Show (Type s) +deriving instance (Eq (X Type s), Eq (E Type s)) => Eq (Type s) +deriving instance (Ord (X Type s), Ord (E Type s)) => Ord (Type s) data Pattern s = PWildcard (X Pattern s) |