Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. x: undefined; cannot reference undefined identifier.
  2.  
  3. (define-syntax-rule (mylet x a body)
  4. ((lambda (x) body) a))
  5.  
  6. (define-syntax mylet
  7. (syntax-rules ()
  8. ((_ x a body)
  9. ((lambda (x) body) a))))
  10.  
  11. (define-syntax-rule (let ((id val) ...) body ...)
  12. ((lambda (id ...) body ...) val ...))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement