Fixed eval typo for real->decimal-string doc, added shared-eval to shared.scrbl.
svn: r8515
This commit is contained in:
parent
ed6058025d
commit
3141700af2
|
@ -701,6 +701,7 @@ than @scheme[decimal-digits] digits after the decimal (and it is
|
|||
padded with trailing zeros if necessary).
|
||||
|
||||
@examples[
|
||||
#:eval math-eval
|
||||
(real->decimal-string pi)
|
||||
(real->decimal-string pi 5)
|
||||
]}
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
scheme/shared
|
||||
(for-label scheme/shared))
|
||||
|
||||
|
||||
@(define shared-eval (make-base-eval))
|
||||
@interaction-eval[#:eval shared-eval (require scheme/shared)]
|
||||
|
||||
@(define maker
|
||||
(make-element #f (list
|
||||
(schemevarfont "prefix:")
|
||||
|
@ -90,6 +94,7 @@ all @scheme[id]s are bound, so @scheme[_patchable-expr]s also created
|
|||
data cycles (but only with cycles that can be created via mutation).
|
||||
|
||||
@examples[
|
||||
#:eval shared-eval
|
||||
(shared ([a (cons 1 a)])
|
||||
a)
|
||||
(shared ([a (cons 1 b)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user