srfi.101
- Purely functional random-access pairs and lists ¶SRFI-101 has become a part of R7RS large.
See scheme.rlist
- R7RS random-access lists.
Special treatment of cond-expand
: The feature conditional
cond-expand
implicitly makes the checked library loaded
if available. That is, you can usually say
(cond-expand (srfi-N <code>))
where <code>
can assume
SRFI-N is already available, without saying (use srfi.N)
.
However, srfi.101
exports the names that conflicts with
standard primitive pair and list operators, and importing
it without prefix or renaming would surprise you.
To avoid confusion, we don’t automatically use srfi.101
even if it is used as feature conditional.
The recommended way is to use library
feature requirements,
and use srfi.101
with your desired prefix, e.g.
(cond-expand ((library srfi.101) (use srfi.101 :prefix ra:)))
.