Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 0.26 KB | None | 0 0
  1. (define-syntax for/list
  2.   (lambda (stx)
  3.     (syntax-case stx (in-list)
  4.         ;; simple case, only lists, no whens
  5.       [(for/list ([id (in-list expr)] ...) body body* ...)
  6.        (display "here")
  7.       #'(map (lambda (id ...) body body* ...) expr ...)])))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement