doc corrections

svn: r14696
This commit is contained in:
Matthew Flatt 2009-05-03 19:33:10 +00:00
parent c17c267f48
commit a1b65fb055
2 changed files with 6 additions and 6 deletions

View File

@ -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}
to create a new @cpp{Scheme_Env*} that represents a primitive
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
module files). After installing variables into the module with
@cppi{scheme_add_global}, etc., call
@ -129,8 +129,8 @@ available as @cppi{scheme_config}.}
[Scheme_Object* name]
[Scheme_Env* for_env])]{
Prepares a new primitive module whose name is the symbol @var{name} (plus any
prefix that is active via @scheme[current-module-name-prefix]). The
Prepares a new primitive module whose name is the symbol @var{name} (or an
alternative that is active via @scheme[current-module-declare-name]). The
module will be declared within the namespace @var{for_env}. The
result is a @cpp{Scheme_Env *} value that can be used with
@cpp{scheme_add_global}, etc., but it represents a module instead

View File

@ -208,12 +208,12 @@ unreadable values.
@section[#:tag "print-hashtable"]{Printing Hash Tables}
When the @scheme[print-hash-table] parameter is set to @scheme[#t], a
hash table prints starting with @litchar{#hash(} or @litchar{#hasheq(}
for a table using @scheme[equal?] or @scheme[eq?] key comparisons,
hash table prints starting with @litchar{#hash(}, @litchar{#hasheqv(}, or @litchar{#hasheq(}
for a table using @scheme[equal?], @scheme[eqv?], or @scheme[eq?] key comparisons,
respectively. After this prefix, each key--value mapping is shown as
@litchar{(}, the printed form of a key, a space, @litchar{.}, a space,
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
@litchar{)}.