Skip to content

Instantly share code, notes, and snippets.

@zeptometer
Last active August 29, 2015 14:03
Show Gist options
  • Select an option

  • Save zeptometer/5f15d605398eb3c96835 to your computer and use it in GitHub Desktop.

Select an option

Save zeptometer/5f15d605398eb3c96835 to your computer and use it in GitHub Desktop.
> (let ((x 1))
* (cond ((even? x) => (lambda (m) m))
* (else x)))
=> #f
> (macroexpand '(let ((x 1))
* (cond ((even? x) => (lambda (m) m))
* (else x)))
* )
=> ((lambda (x@2472) ((lambda (x@2473)
(if x@2473
((lambda (m@2474) m@2474) x@2473)
(begin x@2473)))
(even?@80 x@2472)))
1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment