[R6RS] syntax-case

R. Kent Dybvig dyb
Fri Oct 15 18:44:12 EDT 2004

> My point at the meeting was that (IMHO) since generalized pattern matching is 
> useful, we should provide a special form for pattern matching à la 
> Bigloo' MATCH-CASE 
> (see http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-7.html). I have 
> nothing against SYNTAX-CASE as long as the pattern matching language it
> relies on is the same as the pattern matching we should provide. To the
> extreme, your example:

I agree in principle and would be happy to work with you on this,
but there are some fundamental differences between syntax-case and
general-purpose matchers like match-case that might prevent their
unification.  If we can't make them 100% the same, perhaps we can still
make them compatible in some sense so that programmers familiar with one
can easily use the other and so that implementations can use a common
underlying implementation.


More information about the R6RS mailing list