rc #13

Merged
crumbtoo merged 196 commits from dev into main 2024-02-13 13:22:23 -07:00
Showing only changes of commit d954734660 - Show all commits

View File

@@ -76,7 +76,7 @@ toCore expr = Program
] ]
where where
go :: ArithExpr -> Expr' go :: ArithExpr -> Expr'
go (IntA n) = LitE (IntL n) go (IntA n) = Lit (IntL n)
go (NegateA e) = "negate#" :$ go e go (NegateA e) = "negate#" :$ go e
go (IdA e) = "id" :$ go e go (IdA e) = "id" :$ go e
go (a :+ b) = f "+#" a b go (a :+ b) = f "+#" a b