[plt-scheme] keywords aren't isomorfic to symbols?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Nov 6 18:13:45 EST 2005

At Sun, 06 Nov 2005 23:45:19 +0100, Hans Oesterholt wrote:
> > (define-syntax ka
>   (syntax-rules ()
>     ((_ kb ...)
>      (list #:kb ...)
>      )))

This fails for the same reason as 

 (define-syntax ka
   (syntax-rules ()
     ((_ kb ...)
      (list "kb" ...)
      )))

The pattern/template system has no built-in correspondence between
symbols and keywords. Offhand, I don't think that there should be one
(any more than there should be a built-in conversion between symbols
and strings).

Matthew



Posted on the users mailing list.