Advertisement
dluciv

Untitled

Jul 9th, 2015
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 0.29 KB | None | 0 0
  1. #!r7rs
  2. (import (rnrs))
  3.  
  4. (define (middle f)
  5.   (let ((x 998))
  6.     (f 1)
  7.     )
  8.   )
  9.  
  10. (define (outer)
  11.   (let ((x 122))
  12.     (let ((inner (lambda (y)
  13.                      (+ x y)
  14.                      )
  15.                    ))
  16.         (middle inner)
  17.         )
  18.     )
  19.   )
  20.  
  21. (display (outer))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement