all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.