R7RS library definitions. Subsumed by (rapid analyze-library)
library-name-syntax
. If
library-name-syntax
does not wrap a proper R7RS library name
as a Scheme datum, a syntax error object is signaled. If the
exception is continued, unwrap-library-name
returns
#f
.
Returns a qualified identifier in the library library-name
with name symbol
and syntax object context
.
Returns #t
if object
is a qualified identifier, and
#f
otherwise.
Returns the library name of the qualified-identifier
.
Returns the name of the qualified-identifier
.
Returns the syntax object of the qualified-identifier
.
Returns a library definition object for the library with name
library-name
and declarations declarations
. The
library name
is a Scheme datum representing an R7RS library
name, and the declarations
are a list of syntax objects each
wrapping a Scheme datum representing an R7RS library declaration.
Returns #t
if object
is a library definition
object, and #f
otherwise.
Returns a mapping that maps all the identifiers exported by the
library-definition
to their original bindings, which are
identified by qualified identifiers.
Returns a mapping that maps all the identifiers imported by the
library-definition
to their original bindings, which are
identified by qualified identifiers.
Returns the library body of the library-definition
, a
sequence of syntax objects each wrapping a top-level command or
definition.
Returns #t
if symbol
is a feature identifier in the
current dynamic environment, and #f
otherwise.
Returns #t
if, in the current dynamic environment, the
library with name library-name
can be imported, and
#f
otherwise. Context
is either #f
or a
syntax object that can be referred to if library-exports
raises a syntax error object.
Returns a mapping that maps all the identifiers exported by the
library with name library-name
to their original bindings,
which are identified by qualified identifiers, or #f
if
there is no such library known. Context
is either
#f
or a syntax object that can be referred to if
library-exports
raises a syntax error object.
Returns the current predicate queried when invoking
feature-identifier?
. This procedure is a parameter
object. The initial binding is not specified.
Returns the current predicate queried when invoking
library-importable?
. This procedure is a parameter
object. The initial binding is not specified.
Returns the current accessor queried when invoking
library-exports
. This procedure is a parameter
object. The initial binding is not specified.
Comparator for symbols. Has an ordering predicate and a hash
function.
Comparator for R7RS library names as Scheme datums. Has an
ordering predicate and a hash function.
Type-test predicate for library names. Returns #t
if
object
is a Scheme datum representing a library name, and
#f
otherwise.