Skip to content

Instantly share code, notes, and snippets.

@ayato-p
Created February 13, 2013 05:53
Show Gist options
  • Save ayato-p/4942552 to your computer and use it in GitHub Desktop.
Save ayato-p/4942552 to your computer and use it in GitHub Desktop.
(define (exp-of-ten x)
(expt 10 x))
(define (foo x context)
(print (context x)))
(define (bar list context)
(for-each
(lambda (listp) (foo listp context))
list))
(bar '(1 2 3 4 5 6) exp-of-ten)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment