Return to Snippet

Revision: 21428
at December 17, 2009 12:14 by magicrebirth


Updated Code
(define-macro (p r . otherstuff)
   `(if (null? (list ,@otherstuff))
        (print ,r)
        (print ,@otherstuff)))

(p 'c 'ciao)

Revision: 21427
at December 12, 2009 18:05 by magicrebirth


Initial Code
(define-macro (p r . otherstuff)
   `(if (null? (list ,@otherstuff))
        (print ,r)
        (print ,@otherstuff)))

(p 'c 'ciao)

Initial URL


Initial Description


Initial Title
scheme: check for optional arguments

Initial Tags
textmate

Initial Language
Scheme