~jojo/Carth

4dc1591b665d46dc303d42236159cb6d94adb8ed — JoJo 2 years ago 6eb0b23
Remove todos
1 files changed, 0 insertions(+), 4 deletions(-)

M src/Ast.hs
M src/Ast.hs => src/Ast.hs +0 -4
@@ 55,8 55,6 @@ data Type
    = TVar TVar
    | TPrim TPrim
    | TConst String [Type]
    -- TODO: Not curried yet! Handle that in the parser instead, so that AST
    -- matches closer to what's actually parsed. That will improve error msgs
    | TFun Type Type
    deriving (Show, Eq, Ord)



@@ 85,8 83,6 @@ data Expr'
    | Var Id
    | App Expr Expr
    | If Expr Expr Expr
    -- TODO: Not curried yet! Handle that in the parser instead, so that AST
    -- matches closer to what's actually parsed. That will improve error msgs
    | Fun Id Expr
    | Let (NonEmpty Def) Expr
    | TypeAscr Expr Type