unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40869: Scheme syntax-rules indent when using ellipsis symbol
@ 2020-04-26 15:18 Jakub Jankiewicz
  2022-06-06 13:32 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Jankiewicz @ 2020-04-26 15:18 UTC (permalink / raw)
  To: 40869

According to srfi-46 the syntax-rules can have extra first parameter:

This is the indent:

(define-syntax list+
  (syntax-rules ::: ()
                ((_ args :::) '(args :::))))

it should be the same as without ellipis extra symbol:

(define-syntax list+
  (syntax-rules ()
    ((_ args ...) '(args ...))))

--
Jakub Jankiewicz, Web Developer
https://jcubic.pl/me





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-06 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-26 15:18 bug#40869: Scheme syntax-rules indent when using ellipsis symbol Jakub Jankiewicz
2022-06-06 13:32 ` Lars Ingebrigtsen
2022-06-06 18:13   ` Jakub T. Jankiewicz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).