doc corrections
svn: r14696
This commit is contained in:
parent
c17c267f48
commit
a1b65fb055
|
@ -29,7 +29,7 @@ A @as-index{module}'s set of top-level bindings is implemented using
|
||||||
the same machinery as a namespace. Use @cppi{scheme_primitive_module}
|
the same machinery as a namespace. Use @cppi{scheme_primitive_module}
|
||||||
to create a new @cpp{Scheme_Env*} that represents a primitive
|
to create a new @cpp{Scheme_Env*} that represents a primitive
|
||||||
module. The name provided to @cppi{scheme_primitive_module} is subject
|
module. The name provided to @cppi{scheme_primitive_module} is subject
|
||||||
to prefixing through the @scheme[current-module-name-prefix] parameter
|
to change through the @scheme[current-module-declare-name] parameter
|
||||||
(which is normally set by the module name resolver when auto-loading
|
(which is normally set by the module name resolver when auto-loading
|
||||||
module files). After installing variables into the module with
|
module files). After installing variables into the module with
|
||||||
@cppi{scheme_add_global}, etc., call
|
@cppi{scheme_add_global}, etc., call
|
||||||
|
@ -129,8 +129,8 @@ available as @cppi{scheme_config}.}
|
||||||
[Scheme_Object* name]
|
[Scheme_Object* name]
|
||||||
[Scheme_Env* for_env])]{
|
[Scheme_Env* for_env])]{
|
||||||
|
|
||||||
Prepares a new primitive module whose name is the symbol @var{name} (plus any
|
Prepares a new primitive module whose name is the symbol @var{name} (or an
|
||||||
prefix that is active via @scheme[current-module-name-prefix]). The
|
alternative that is active via @scheme[current-module-declare-name]). The
|
||||||
module will be declared within the namespace @var{for_env}. The
|
module will be declared within the namespace @var{for_env}. The
|
||||||
result is a @cpp{Scheme_Env *} value that can be used with
|
result is a @cpp{Scheme_Env *} value that can be used with
|
||||||
@cpp{scheme_add_global}, etc., but it represents a module instead
|
@cpp{scheme_add_global}, etc., but it represents a module instead
|
||||||
|
|
|
@ -208,12 +208,12 @@ unreadable values.
|
||||||
@section[#:tag "print-hashtable"]{Printing Hash Tables}
|
@section[#:tag "print-hashtable"]{Printing Hash Tables}
|
||||||
|
|
||||||
When the @scheme[print-hash-table] parameter is set to @scheme[#t], a
|
When the @scheme[print-hash-table] parameter is set to @scheme[#t], a
|
||||||
hash table prints starting with @litchar{#hash(} or @litchar{#hasheq(}
|
hash table prints starting with @litchar{#hash(}, @litchar{#hasheqv(}, or @litchar{#hasheq(}
|
||||||
for a table using @scheme[equal?] or @scheme[eq?] key comparisons,
|
for a table using @scheme[equal?], @scheme[eqv?], or @scheme[eq?] key comparisons,
|
||||||
respectively. After this prefix, each key--value mapping is shown as
|
respectively. After this prefix, each key--value mapping is shown as
|
||||||
@litchar{(}, the printed form of a key, a space, @litchar{.}, a space,
|
@litchar{(}, the printed form of a key, a space, @litchar{.}, a space,
|
||||||
the printed form the corresponding value, and @litchar{)}, with an
|
the printed form the corresponding value, and @litchar{)}, with an
|
||||||
addition space if the key--value pairs is not the last to be printed.
|
additional space if the key--value pairs is not the last to be printed.
|
||||||
After all key-value pairs, the printed form completes with
|
After all key-value pairs, the printed form completes with
|
||||||
@litchar{)}.
|
@litchar{)}.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user