reference doc tweaks

svn: r8008
This commit is contained in:
Matthew Flatt 2007-12-14 13:19:46 +00:00
parent dec5a1c21b
commit 265550c08f
2 changed files with 4 additions and 3 deletions

View File

@ -90,7 +90,7 @@ A parameter that determines the @techlink{current namespace}.}
@defproc[(namespace-symbol->identifier [sym symbol?]) identifier?]{ @defproc[(namespace-symbol->identifier [sym symbol?]) identifier?]{
Similar to @scheme[datum->syntax-object] restricted to symbols. The Similar to @scheme[datum->syntax] restricted to symbols. The
lexical context of the resulting identifier corresponds to the lexical context of the resulting identifier corresponds to the
top-level environment of the current namespace; the identifier has no top-level environment of the current namespace; the identifier has no
source location or properties.} source location or properties.}

View File

@ -488,8 +488,9 @@ Returns @scheme[(and (exact-integer? v) (positive? v))].
@examples[(imag-part 3+4i) (imag-part 5.0) (imag-part 5.0+0.0i)]} @examples[(imag-part 3+4i) (imag-part 5.0) (imag-part 5.0+0.0i)]}
@defproc[(magnitude [z number?]) real?]{ Returns the magnitude of @defproc[(magnitude [z number?]) (and/c real? (not/c negative?))]{
the complex number @scheme[z] in polar coordinates. Returns the magnitude of the complex number @scheme[z] in polar
coordinates.
@examples[(magnitude -3) (magnitude 3.0) (magnitude 3+4i)]} @examples[(magnitude -3) (magnitude 3.0) (magnitude 3+4i)]}