Skip to content

Commit f35d1a0

Browse files
committed
Woops
1 parent 0852828 commit f35d1a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/syntax/sugar.rkt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@
9999
[`(- ,a) `(neg ,(loop a env))]
100100
[`(/ ,a) `(/ 1 ,(loop a env))]
101101
; expand arithmetic associativity
102-
[`(,(and (or '+ '- '* '/ 'and 'or) op) ,as ..2 ,b) (list op (loop `(,op ,@as) env) (loop b env))]
102+
[`(,(and (or '+ '- '* '/ 'and 'or) op) ,as ..2 ,b)
103+
(list op (loop `(,op ,@as) env) (loop b env))]
103104
; expand comparison associativity
104105
[`(,(and (or '< '<= '> '>= '=) op) ,as ...)
105106
(define as* (map (curryr loop env) as))

0 commit comments

Comments
 (0)