Document that we support srfi-46 and add it to %cond-expand-features.
* module/ice-9/boot-9.scm (%cond-expand-features): Add srfi-46.
* doc/ref/srfi-modules.texi (SRFI-0): Add srfi-46 to the list of core
features.
(SRFI-46): New node.
* doc/ref/api-macros.texi (Syntax Rules): Mention that the custom
ellipsis identifier support is specified by SRFI-46.
* test-suite/tests/syntax.test ("syntax-rules"): Add ellipsis hygiene
test from SRFI-46.
This commit is contained in:
parent
da81e75d3e
commit
2d6a3144a1
4 changed files with 30 additions and 5 deletions
|
|
@ -48,6 +48,7 @@ get the relevant SRFI documents from the SRFI home page
|
|||
* SRFI-41:: Streams.
|
||||
* SRFI-42:: Eager comprehensions
|
||||
* SRFI-45:: Primitives for expressing iterative lazy algorithms
|
||||
* SRFI-46:: Basic syntax-rules Extensions.
|
||||
* SRFI-55:: Requiring Features.
|
||||
* SRFI-60:: Integers as bits.
|
||||
* SRFI-61:: A more general `cond' clause
|
||||
|
|
@ -154,6 +155,7 @@ srfi-16
|
|||
srfi-23
|
||||
srfi-30
|
||||
srfi-39
|
||||
srfi-46
|
||||
srfi-55
|
||||
srfi-61
|
||||
srfi-62
|
||||
|
|
@ -4658,6 +4660,15 @@ apply @code{force} to arguments of deconstructors (e.g., @code{car},
|
|||
wrap procedure bodies with @code{(lazy ...)}.
|
||||
@end itemize
|
||||
|
||||
@node SRFI-46
|
||||
@subsection SRFI-46 Basic syntax-rules Extensions
|
||||
@cindex SRFI-46
|
||||
|
||||
Guile's core @code{syntax-rules} supports the extensions specified by
|
||||
SRFI-46/R7RS. Tail patterns have been supported since at least Guile
|
||||
2.0, and custom ellipsis identifiers have been supported since Guile
|
||||
2.0.10. @xref{Syntax Rules}.
|
||||
|
||||
@node SRFI-55
|
||||
@subsection SRFI-55 - Requiring Features
|
||||
@cindex SRFI-55
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue