[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
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports