[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] auxiliary syntax

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@x>

Scheme-reports mailing list