fork download
  1. (define (do_it n)
  2. (define (print_it n)
  3. (display n)
  4. (newline))
  5. (cond ((not(= n 42))
  6. (print_it n)
  7. (do_it (read)))
  8. ))
  9.  
  10. (do_it (read))
Success #stdin #stdout 0.01s 10848KB
stdin
1
2
10
42
11
stdout
1
2
10