Guile Scheme

Hello

1
(define hello "Hello Guile Scheme")
\#<unspecified>
1
hello
Hello Guile Scheme

Closure

1
2
3
4
5
(define (make-adder n)
  (lambda (x) (+ x n)))

(define add5 (make-adder 5))
(add5 10)
15

Shadow variable

1
2
(define x 10)
x
10
1
2
(let ((x 20))
  x)
20