macros.scm 255 B

1234567891011121314
  1. (import (rnrs))
  2. (define open-input-port open-input-file)
  3. (define standard-input (current-input-port))
  4. (define (print x) (display x) (newline))
  5. (define-syntax mapply
  6. (syntax-rules ()
  7. ((mapply f xs arg ...)
  8. (map (lambda (x) (f x arg ...)) xs))))