no title added by anonymous on Mon Aug 13 16:07:51 2012

(declare (pure foo))
(define (foo)
  (print 1))

(print
 (begin
   (foo)
   (foo)
   (foo)
   (foo)))

$ ~/tmp/bar
1
#<unspecified>