Welcome to the CHICKEN Scheme pasting service

what am I missing? pasted by certainty on Mon Aug 6 16:03:13 2012

(define-syntax alias-syntax
  (syntax-rules ()
   ((_ original alias)
    (define-syntax alias
      (syntax-rules ()
        ((_ args ...) (original args ...))))))

; Error: during expansion of (syntax-rules ...) - too many ellipses: (args ...)

one way to do it added by certainty on Mon Aug 6 16:25:47 2012

(use low-level-macros)
(import-for-syntax (only low-level-macros er-macro-rules))

(define-syntax alias-syntax
  (er-macro-rules (%define-syntax %syntax-rules)
    ((_ orig alias)
      `(,%define-syntax ,alias
         (,%syntax-rules ()
           ((,alias args ...) (,orig args ...)))))))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the one-argument procedure to check if a list is empty?
Visually impaired? Let me spell it for you (wav file) download WAV