turn shared.ss test suite back on, tweak docs

svn: r8076
This commit is contained in:
Matthew Flatt 2007-12-19 22:25:12 +00:00
parent a018da21f7
commit c4960b7418
3 changed files with 4 additions and 3 deletions

View File

@ -727,7 +727,7 @@ expand code and to start evaluating expanded/compiled code.
(code:comment #, @t{The following @scheme[let] expression is compiled in the original}) (code:comment #, @t{The following @scheme[let] expression is compiled in the original})
(code:comment #, @t{namespace, so direct references to @scheme[x] see @scheme['orig].}) (code:comment #, @t{namespace, so direct references to @scheme[x] see @scheme['orig].})
(code:line (code:line
(let ([n (make-namespace)]) ; make new namespace (let ([n (make-base-namespace)]) (code:comment #, @t{make new namespace})
(parameterize ([current-namespace n]) (parameterize ([current-namespace n])
(eval '(define x 'new)) (code:comment #, @t{evals in the new namespace}) (eval '(define x 'new)) (code:comment #, @t{evals in the new namespace})
(display x) (code:comment #, @t{displays @scheme['orig]}) (display x) (code:comment #, @t{displays @scheme['orig]})
@ -757,7 +757,7 @@ x
x x
(f) (f)
(module m mzscheme (define x 8) (provide x)) (module m mzscheme (define x 8) (provide x))
(require m) (require 'm)
(eval:alts x (eval 'x)) (eval:alts x (eval 'x))
(f) (f)
] ]

View File

@ -7,6 +7,7 @@
This section describes the core syntax forms that apear in a fully This section describes the core syntax forms that apear in a fully
expanded expression, plus a many closely-related non-core forms. expanded expression, plus a many closely-related non-core forms.
See @secref["fully-expanded"] for the core grammar.
@local-table-of-contents[] @local-table-of-contents[]

View File

@ -46,7 +46,7 @@
(load-in-sandbox "sandbox.ss") (load-in-sandbox "sandbox.ss")
; (load-in-sandbox "shared.ss") - FIXME (load-in-sandbox "shared.ss")
(load-in-sandbox "kw.ss") (load-in-sandbox "kw.ss")