public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Identifier syntax in Kawa
@ 2020-07-15 18:06 Lassi Kortela
  0 siblings, 0 replies; only message in thread
From: Lassi Kortela @ 2020-07-15 18:06 UTC (permalink / raw)
  To: kawa mailing list

Kawa's syntax-case interpretats bare identifiers is differently from the 
R6RS standard and its implementations. Is this intentional:

(define-syntax foo
   (lambda (x)
     (syntax-case x ()
       ((_) (syntax '(1 2 3)))
       (_   (syntax 123)))))

(foo) => (1 2 3)       ; in both R6RS and Kawa
foo   => 123           ; in R6RS
foo   => #<macro foo>  ; in Kawa

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-15 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 18:06 Identifier syntax in Kawa Lassi Kortela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).