Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeAbel committed Jan 3, 2024
1 parent e15385b commit cac38e5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lvtc/src/AST.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
-}

module AST
(
Type
( Type
, Value
, Var
, FuncCall
Expand All @@ -19,9 +18,9 @@ module AST
, Condition
) where

getType :: Type -> String
getType Int32 = "Int32"
getType _ = Nothing
import Data.Int (Int32)

type Symbol = String

type Type = String

Expand Down

0 comments on commit cac38e5

Please sign in to comment.