Scheme -> Racket in docs
This commit is contained in:
parent
5aed43de52
commit
db1141b564
|
@ -22,7 +22,7 @@ Applies @racket[f] to every element of the dllist.}
|
|||
@defmethod[(map-to-list [f ((is-a?/c dllist<%>) . -> . 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[].}
|
||||
|
||||
}
|
||||
|
|
|
@ -140,7 +140,7 @@ carries an occurrence each time @racket[val] changes from @racket[#f] to
|
|||
anything else.}
|
||||
|
||||
@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
|
||||
behavior whose current value is always equal to @racket[(proc
|
||||
(value-now arg) ...)]. In FrTime, many Racket primitives are
|
||||
|
|
|
@ -33,6 +33,6 @@ pressing @onscreen{0}, @onscreen{1}, @onscreen{2}, @onscreen{3}, or
|
|||
@onscreen{P} to pause the game.
|
||||
|
||||
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.
|
||||
|
|
|
@ -75,7 +75,7 @@ The @racket[filters] argument is one of:
|
|||
@itemize[
|
||||
|
||||
@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
|
||||
empty list, enables a filter box for the user to enter glob
|
||||
patterns, and the given list of choices is available in a
|
||||
|
|
|
@ -7,17 +7,17 @@
|
|||
@mzlib[#:mode title pconvert]
|
||||
|
||||
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
|
||||
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
|
||||
configurable and approximates expressions for a wider range of
|
||||
values. For example, procedures print using @racketresultfont{lambda}
|
||||
instead of @racketresultfont{#<procedure>}.
|
||||
|
||||
The @racket[print-convert] procedure does not print values; rather, it
|
||||
converts a Scheme value into another Scheme value such that the new
|
||||
value @racket[pretty-write]s as a Scheme expression that evaluates to
|
||||
converts a Racket value into another Racket value such that the new
|
||||
value @racket[pretty-write]s as a Racket expression that evaluates to
|
||||
the original value. For example, @racket[(pretty-write (print-convert
|
||||
`(9 ,(box 5) #(6 7))))] prints the literal expression
|
||||
@racketresult[(list 9 (box 5) (vector 6 7))] to the current output
|
||||
|
|
|
@ -83,7 +83,7 @@ or default value may be used.
|
|||
|
||||
@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
|
||||
that accept arbitrary truth values that may not be booleans.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user