Re: [Scheme-reports] auxiliary syntax John Cowan 06 Jan 2013 03:02 UTC

Andy Wingo scripsit:

>   (define-syntax else (syntax-rules ())

It would be just as good or even better to say

(define-syntax else
  (syntax-rules ()
    ((else expr ...) (syntax-error "bad use of else"))))

IMHO it is a great mistake to specify via code, as people take the code
to be the One True Spec rather than just an example.

--
Ambassador Trentino: I've said enough. I'm a man of few words.
Rufus T. Firefly: I'm a man of one word: scram!
        --Duck Soup                     John Cowan <cowan@ccil.org>

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports