💕 Adding assignment 2

This commit is contained in:
2024-09-12 13:54:13 +02:00
parent 3722040d09
commit b061522fd1
9 changed files with 321 additions and 0 deletions

View File

@ -0,0 +1,13 @@
module APL.Check (checkExp, Error) where
import APL.AST (Exp (..), VName)
type Error = String
newtype CheckM a = CheckM () -- TODO - give this a proper definition.
check :: Exp -> CheckM ()
check = undefined
checkExp :: Exp -> Maybe Error
checkExp = undefined