parent
a7453031a0
commit
199b3d7f2a
|
@ -251,7 +251,7 @@ package; there are switches to change this package.
|
||||||
Except where indicated, switches specify actions that are executed in a
|
Except where indicated, switches specify actions that are executed in a
|
||||||
left-to-right order.
|
left-to-right order.
|
||||||
The initial current package is the user package, which is completely
|
The initial current package is the user package, which is completely
|
||||||
empty and opens (imports the bindings of) the R4RS and scsh structures.
|
empty and opens (imports the bindings of) the \RnRS{} and scsh structures.
|
||||||
|
|
||||||
If the Scheme process is started up in an interactive mode, then the current
|
If the Scheme process is started up in an interactive mode, then the current
|
||||||
package in force at the end of switch scanning is the one inside which
|
package in force at the end of switch scanning is the one inside which
|
||||||
|
@ -282,7 +282,7 @@ The following switches and end options are defined:
|
||||||
the new package is anonmyous, with no associated named structure.
|
the new package is anonmyous, with no associated named structure.
|
||||||
|
|
||||||
The new package initially opens no other structures,
|
The new package initially opens no other structures,
|
||||||
not even the R4RS bindings. You must follow a ``\ex{-n foo}''
|
not even the \RnRS{} bindings. You must follow a ``\ex{-n foo}''
|
||||||
switch with ``\ex{-o scheme}'' to access the standard identifiers such
|
switch with ``\ex{-o scheme}'' to access the standard identifiers such
|
||||||
as \ex{car} and \ex{define}.
|
as \ex{car} and \ex{define}.
|
||||||
|
|
||||||
|
|
|
@ -108,8 +108,8 @@ the next section is a friendlier tutorial introduction.
|
||||||
integers. \\
|
integers. \\
|
||||||
\var{M} may also be \ex{\#f}, meaning ``infinity.''} \\
|
\var{M} may also be \ex{\#f}, meaning ``infinity.''} \\
|
||||||
\\
|
\\
|
||||||
\ex{(| \var{sre} {\ldots})} & Choice (\ex{or} is R5RS symbol; \\
|
\ex{(| \var{sre} {\ldots})} & Choice (\ex{or} is \RnRS{} symbol; \\
|
||||||
\ex{(or \var{sre} {\ldots})} & \ex{|} is not specified by R5RS.) \\
|
\ex{(or \var{sre} {\ldots})} & \ex{|} is not specified by \RnRS{}.) \\
|
||||||
\\
|
\\
|
||||||
\ex{(: \var{sre} {\ldots})} & Sequence (\ex{seq} is legal \\
|
\ex{(: \var{sre} {\ldots})} & Sequence (\ex{seq} is legal \\
|
||||||
\ex{(seq \var{sre} {\ldots})} & Common Lisp symbol) \\
|
\ex{(seq \var{sre} {\ldots})} & Common Lisp symbol) \\
|
||||||
|
@ -308,7 +308,7 @@ The regexp \ex{(seq \var{sre} \ldots)} is
|
||||||
completely equivalent to \ex{(: \var{sre} \ldots)};
|
completely equivalent to \ex{(: \var{sre} \ldots)};
|
||||||
it's included in order to have a syntax that doesn't require
|
it's included in order to have a syntax that doesn't require
|
||||||
\ex{:} to be a legal symbol \footnote{That is, for use within s-expression
|
\ex{:} to be a legal symbol \footnote{That is, for use within s-expression
|
||||||
syntax frameworks that, unlike R5RS, don't allow for \ex{:} as a legal symbol.
|
syntax frameworks that, unlike \RnRS, don't allow for \ex{:} as a legal symbol.
|
||||||
A Common Lisp embedding of SREs, for example, would need to use
|
A Common Lisp embedding of SREs, for example, would need to use
|
||||||
\ex{seq} instead of \ex{:}.}
|
\ex{seq} instead of \ex{:}.}
|
||||||
|
|
||||||
|
|
|
@ -444,11 +444,11 @@ is also frequently useful for expanding file-names.
|
||||||
\begin{desc}
|
\begin{desc}
|
||||||
Each of these predicates tests for membership in one of the standard
|
Each of these predicates tests for membership in one of the standard
|
||||||
character sets provided by the SRFI-14 character-set library.
|
character sets provided by the SRFI-14 character-set library.
|
||||||
Additionally, the following redundant bindings are provided for {R5RS}
|
Additionally, the following redundant bindings are provided for {\RnRS}
|
||||||
compatibility:
|
compatibility:
|
||||||
\begin{inset}
|
\begin{inset}
|
||||||
\begin{tabular}{ll}
|
\begin{tabular}{ll}
|
||||||
{R5RS} name & scsh definition \\ \hline
|
{\RnRS} name & scsh definition \\ \hline
|
||||||
\ex{char-alphabetic?} & \ex{char-letter+digit?} \\
|
\ex{char-alphabetic?} & \ex{char-letter+digit?} \\
|
||||||
\ex{char-numeric?} & \ex{char-digit?} \\
|
\ex{char-numeric?} & \ex{char-digit?} \\
|
||||||
\ex{char-alphanumeric?} & \ex{char-letter+digit?}
|
\ex{char-alphanumeric?} & \ex{char-letter+digit?}
|
||||||
|
|
Loading…
Reference in New Issue