We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
'(begin)
'(end)
1 parent 9461638 commit 8908fa2Copy full SHA for 8908fa2
src/ast.scm
@@ -405,7 +405,8 @@
405
406
;; identify some expressions that are safe to repeat
407
(define (effect-free? e)
408
- (or (not (pair? e)) (ssavalue? e) (sym-dot? e) (quoted? e) (memq (car e) '(null true false))))
+ (or (not (pair? e)) (ssavalue? e) (sym-dot? e) (quoted? e)
409
+ (memq (car e) '(null true false begin end))))
410
411
;; get the variable name part of a declaration, x::int => x
412
(define (decl-var v)
0 commit comments