a bit more work on pattern match + case expr

This commit is contained in:
sebastian 2023-03-02 22:07:38 +01:00
parent 2401b6437b
commit 7656b46e3f
3 changed files with 22 additions and 13 deletions

View file

@ -39,6 +39,7 @@ data Exp
| EApp Type Exp Exp
| EAdd Type Exp Exp
| EAbs Type Id Exp
| ECase Type Exp [Inj]
deriving (C.Eq, C.Ord, C.Read, C.Show)
data Inj = Inj (Init, Type) Exp