summaryrefslogtreecommitdiff
path: root/Term.hs
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2012-05-11 17:52:22 +1000
committerJed Barber <jjbarber@y7mail.com>2012-05-11 17:52:22 +1000
commit255ba39c758535589dfd66ffb6efb108919ecc08 (patch)
treecd76b9e5edfd85b8bb9d61d151a238134e0ebd83 /Term.hs
parent6b9b4e90e4f3bea26834d641899621ad02285b14 (diff)
Incorporated use of Data.Set and Data.Map
Diffstat (limited to 'Term.hs')
-rw-r--r--Term.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Term.hs b/Term.hs
index 626b91c..f8f1b84 100644
--- a/Term.hs
+++ b/Term.hs
@@ -27,7 +27,7 @@ data Term = TVar { tVar :: Var }
| TApp { tAppLeft :: Term
, tAppRight :: Term }
| TAbs { tAbsVar :: Term
- , tAbsTerm :: Term }
+ , tAbsTerm :: Term } deriving (Ord)
type Substitution = ( [(Name,Type)], [(Var,Term)] )