removed minor thing in EAdd
This commit is contained in:
parent
a23269f907
commit
7ab0e65981
1 changed files with 2 additions and 2 deletions
|
|
@ -329,8 +329,8 @@ algoW = \case
|
||||||
err@(EAdd e0 e1) -> do
|
err@(EAdd e0 e1) -> do
|
||||||
(s1, (e0', t0)) <- algoW e0
|
(s1, (e0', t0)) <- algoW e0
|
||||||
(s2, (e1', t1)) <- algoW e1
|
(s2, (e1', t1)) <- algoW e1
|
||||||
s3 <- exprErr (unify (apply s2 t0) int) err
|
s3 <- exprErr (unify t0 int) err
|
||||||
s4 <- exprErr (unify (apply s3 t1) int) err
|
s4 <- exprErr (unify t1 int) err
|
||||||
let comp = s4 `compose` s3 `compose` s2 `compose` s1
|
let comp = s4 `compose` s3 `compose` s2 `compose` s1
|
||||||
return
|
return
|
||||||
( comp
|
( comp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue