Skip to content

Commit

Permalink
git being difficult
Browse files Browse the repository at this point in the history
  • Loading branch information
Davorak committed May 28, 2011
1 parent 3a9d7cb commit d2ea0ee
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion scheme/examples/closure example.rkt
Expand Up @@ -13,4 +13,15 @@

(plus-two 1)

(plus-two 2)
(plus-two 2)


(define (make-obj lst)
(lambda (getter)
(getter lst)))

(define tmp-obj (make-obj '(1 2 3)))

(tmp-obj first)

(tmp-obj second)

0 comments on commit d2ea0ee

Please sign in to comment.