Scheme -> Racket in docs

This commit is contained in:
Asumu Takikawa 2013-04-29 16:59:52 -04:00
parent 5aed43de52
commit db1141b564
6 changed files with 9 additions and 9 deletions

View File

@ -22,7 +22,7 @@ Applies @racket[f] to every element of the dllist.}
@defmethod[(map-to-list [f ((is-a?/c dllist<%>) . -> . any/c)]) @defmethod[(map-to-list [f ((is-a?/c dllist<%>) . -> . any/c)])
(listof any/c)]{ (listof any/c)]{
Creates a Scheme list by applying @racket[f] to every element Creates a Racket list by applying @racket[f] to every element
of @this-obj[].} of @this-obj[].}
} }

View File

@ -140,7 +140,7 @@ carries an occurrence each time @racket[val] changes from @racket[#f] to
anything else.} anything else.}
@defproc[(lift-strict [proc (-> [arg any/c] ... any)] [val any/c] ...) @defproc[(lift-strict [proc (-> [arg any/c] ... any)] [val any/c] ...)
any]{provides a mechanism for applying ordinary Scheme primitives to any]{provides a mechanism for applying ordinary Racket primitives to
behaviors. If any of the @racket[val]s are behaviors, returns a behaviors. If any of the @racket[val]s are behaviors, returns a
behavior whose current value is always equal to @racket[(proc behavior whose current value is always equal to @racket[(proc
(value-now arg) ...)]. In FrTime, many Racket primitives are (value-now arg) ...)]. In FrTime, many Racket primitives are

View File

@ -33,6 +33,6 @@ pressing @onscreen{0}, @onscreen{1}, @onscreen{2}, @onscreen{3}, or
@onscreen{P} to pause the game. @onscreen{P} to pause the game.
The code is released under the LGPL. The code is a conversion of Dave The code is released under the LGPL. The code is a conversion of Dave
Ashley's C program to Scheme with some modifications and enhancements. Ashley's C program to Racket with some modifications and enhancements.
Enjoy. Enjoy.

View File

@ -75,7 +75,7 @@ The @racket[filters] argument is one of:
@itemize[ @itemize[
@item{@racket[(list (list _filter-name _filter-glob) ...)] --- a @item{@racket[(list (list _filter-name _filter-glob) ...)] --- a
list of pattern names (e.g., @racket["Scheme Files"]) and glob list of pattern names (e.g., @racket["Racket Files"]) and glob
patterns (e.g., @racket["*.rkt;*.scrbl"]). Any list, including an patterns (e.g., @racket["*.rkt;*.scrbl"]). Any list, including an
empty list, enables a filter box for the user to enter glob empty list, enables a filter box for the user to enter glob
patterns, and the given list of choices is available in a patterns, and the given list of choices is available in a

View File

@ -7,17 +7,17 @@
@mzlib[#:mode title pconvert] @mzlib[#:mode title pconvert]
The @racketmodname[mzlib/pconvert] library defines routines for The @racketmodname[mzlib/pconvert] library defines routines for
printing Scheme values as @racket[eval]uable S-expressions. Racket's printing Racket values as @racket[eval]uable S-expressions. Racket's
default printing mode also prints values as expressions (in contrast default printing mode also prints values as expressions (in contrast
to the Lisp and Scheme tradition of printing @racket[read]able to the Lisp and Racket tradition of printing @racket[read]able
S-expressions), but @racketmodname[mzlib/pconvert] is more S-expressions), but @racketmodname[mzlib/pconvert] is more
configurable and approximates expressions for a wider range of configurable and approximates expressions for a wider range of
values. For example, procedures print using @racketresultfont{lambda} values. For example, procedures print using @racketresultfont{lambda}
instead of @racketresultfont{#<procedure>}. instead of @racketresultfont{#<procedure>}.
The @racket[print-convert] procedure does not print values; rather, it The @racket[print-convert] procedure does not print values; rather, it
converts a Scheme value into another Scheme value such that the new converts a Racket value into another Racket value such that the new
value @racket[pretty-write]s as a Scheme expression that evaluates to value @racket[pretty-write]s as a Racket expression that evaluates to
the original value. For example, @racket[(pretty-write (print-convert the original value. For example, @racket[(pretty-write (print-convert
`(9 ,(box 5) #(6 7))))] prints the literal expression `(9 ,(box 5) #(6 7))))] prints the literal expression
@racketresult[(list 9 (box 5) (vector 6 7))] to the current output @racketresult[(list 9 (box 5) (vector 6 7))] to the current output

View File

@ -83,7 +83,7 @@ or default value may be used.
@defthing[truth/c flat-contract?]{ @defthing[truth/c flat-contract?]{
This contract recognizes Scheme truth values, i.e., any value, but with a more This contract recognizes Racket truth values, i.e., any value, but with a more
informative name and description. Use it in negative positions for arguments informative name and description. Use it in negative positions for arguments
that accept arbitrary truth values that may not be booleans. that accept arbitrary truth values that may not be booleans.