typos
svn: r12091
This commit is contained in:
parent
e102ee9574
commit
7005c324d4
|
@ -203,7 +203,7 @@ order to experiment with the behavior of the contract system, you
|
||||||
would have to make multiple files.
|
would have to make multiple files.
|
||||||
|
|
||||||
To rectify this, PLT Scheme provides a special language, called
|
To rectify this, PLT Scheme provides a special language, called
|
||||||
@tt{scheme/load}. The contents of such a module is other modules (and
|
@schememodname[scheme/load]. The contents of such a module is other modules (and
|
||||||
@scheme[require] statements), using the parenthesized syntax for a
|
@scheme[require] statements), using the parenthesized syntax for a
|
||||||
module. For example, to try the example earlier in this section, you
|
module. For example, to try the example earlier in this section, you
|
||||||
would write:
|
would write:
|
||||||
|
@ -220,13 +220,13 @@ scheme/load
|
||||||
|
|
||||||
(require 'n)]
|
(require 'n)]
|
||||||
|
|
||||||
Each of the modules and their contracts are wrapped in parenthesis
|
Each of the modules and their contracts are wrapped in parentheses
|
||||||
with the @scheme[module] keyword at the front. The first argument to
|
with the @scheme[module] keyword at the front. The first argument to
|
||||||
@scheme[module] should be the name of the module, so it can be used in
|
@scheme[module] should be the name of the module, so it can be used in
|
||||||
a subsequent @scheme[require] statement (note that in the
|
a subsequent @scheme[require] statement (note that in the
|
||||||
@scheme[require], the name of the module must be prefixed with a
|
@scheme[require], the name of the module must be prefixed with a
|
||||||
quote). The second argument to @scheme[module] is the language (what
|
quote). The second argument to @scheme[module] is the language (what
|
||||||
would have come lang @tt{#lang} in the usual notation), and the
|
would have come after @tt{#lang} in the usual notation), and the
|
||||||
remaining arguments are the body of the module. After all of the
|
remaining arguments are the body of the module. After all of the
|
||||||
modules, there must a @scheme[require] to kick things off.
|
modules, there must a @scheme[require] to kick things off.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user