Skip to content

Commit

Permalink
Fix desugaring of core cong
Browse files Browse the repository at this point in the history
RE #13
  • Loading branch information
david-christiansen committed Mar 8, 2018
1 parent 28fe6d4 commit 026bfa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resugar.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
`(replace (the ,(cdr resugared-t) ,(cdr resugared-tgt))
,(cdr resugared-mot)
,(cdr resugared-base))))]
[`(cong ,t ,tgt ,fun)
[`(cong ,tgt ,t ,fun)
(let ((resugared-tgt (resugar* tgt))
(resugared-fun (resugar* fun)))
(cons (append (car resugared-tgt) (car resugared-fun))
Expand Down

0 comments on commit 026bfa0

Please sign in to comment.