add annotation param to Expr

nightmare breaking changes. never listening to the "i'll do it later if i REALLY need it" part of my brain again.

add annotation param to Expr
This commit is contained in:
crumbtoo
2023-12-08 09:37:20 -07:00
parent a00405ebd4
commit f728b91a8a
9 changed files with 127 additions and 110 deletions

14
src/Core2Core.hs Normal file
View File

@@ -0,0 +1,14 @@
module Core2Core
(
)
where
----------------------------------------------------------------------------------
import Core.Syntax
----------------------------------------------------------------------------------
core2core :: Program -> Program
core2core = undefined
floatNonStrictCase :: Expr -> Expr
floatNonStrictCase (Case e as) = Case e ()