svn: r12091
This commit is contained in:
Robby Findler 2008-10-22 12:23:44 +00:00
parent e102ee9574
commit 7005c324d4

View File

@ -203,7 +203,7 @@ order to experiment with the behavior of the contract system, you
would have to make multiple files.
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
module. For example, to try the example earlier in this section, you
would write:
@ -220,13 +220,13 @@ scheme/load
(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
@scheme[module] should be the name of the module, so it can be used in
a subsequent @scheme[require] statement (note that in the
@scheme[require], the name of the module must be prefixed with a
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
modules, there must a @scheme[require] to kick things off.