LitE -> Lit
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user