minor doc updates
This commit is contained in:
parent
7de96490cf
commit
79fbc970aa
|
@ -37,9 +37,8 @@ the list:
|
||||||
(place-channel-put ch l-double?)))
|
(place-channel-put ch l-double?)))
|
||||||
|
|
||||||
(place-channel-put p (list 1 2 4 8))
|
(place-channel-put p (list 1 2 4 8))
|
||||||
(begin0
|
|
||||||
(place-channel-get p))
|
(place-channel-get p))
|
||||||
(place-wait p))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
The identifier @racket[ch] after @racket[place] is bound to a @deftech{place
|
The identifier @racket[ch] after @racket[place] is bound to a @deftech{place
|
||||||
|
@ -73,7 +72,7 @@ must be available in the module's top level. Second, the
|
||||||
@racket[place] form @racket[dynamic-require]s the enclosing module in
|
@racket[place] form @racket[dynamic-require]s the enclosing module in
|
||||||
a newly created place. As part of the @racket[dynamic-require], the
|
a newly created place. As part of the @racket[dynamic-require], the
|
||||||
current module body is evaluated in the new place. The consequence of
|
current module body is evaluated in the new place. The consequence of
|
||||||
this second feature is that @racket[place] should appear immediately
|
this second feature is that @racket[place] should not appear immediately
|
||||||
in a module or in a function that is called in a module's top level;
|
in a module or in a function that is called in a module's top level;
|
||||||
otherwise, invoking the module will invoke the same module in a new
|
otherwise, invoking the module will invoke the same module in a new
|
||||||
place, and so on, triggering a cascade of place creations that will
|
place, and so on, triggering a cascade of place creations that will
|
||||||
|
|
Loading…
Reference in New Issue
Block a user