diff options
author | Tom Smeding <tom@tomsmeding.com> | 2021-11-25 22:41:55 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2021-11-25 22:41:55 +0100 |
commit | d17dc556c46a43dd7c35c6bfcc7c47a23ef0caeb (patch) | |
tree | 69d69100e4189bdf174a6bffd9df8efc53e42a4c /AST.hs | |
parent | 7ebf27051c61f69d5c12a9350273df4ec20e3d86 (diff) |
Some work
Diffstat (limited to 'AST.hs')
-rw-r--r-- | AST.hs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -11,10 +11,12 @@ newtype Name = Name String deriving (Show) data Type - = TApp Name [Type] + = TApp Type [Type] | TTup [Type] | TList Type | TFun Type Type + | TCon Name + | TVar Name deriving (Show) data FunEq t = FunEq Name [Pattern t] (RHS t) |