doc clarifications on `eq?'
This commit is contained in:
parent
b7bef3b3aa
commit
c5131d428c
|
@ -5,8 +5,9 @@
|
|||
|
||||
True and false @deftech{booleans} are represented by the values
|
||||
@racket[#t] and @racket[#f], respectively, though operations that
|
||||
depend on a boolean value typically treat anything other than @racket[#f]
|
||||
as true.
|
||||
depend on a boolean value typically treat anything other than
|
||||
@racket[#f] as true. The @racket[#t] value is always @racket[eq?] to
|
||||
itself, and @racket[#f] is always @racket[eq?] to itself.
|
||||
|
||||
See also: @racket[and], @racket[or], @racket[andmap], @racket[ormap].
|
||||
|
||||
|
|
|
@ -227,7 +227,10 @@ Sets the content of @racket[box] to @racket[v].}
|
|||
The constant @|void-const| is returned by most forms and procedures
|
||||
that have a side-effect and no useful result. The constant
|
||||
@|undefined-const| is used as the initial value for @racket[letrec]
|
||||
bindings.
|
||||
bindings.
|
||||
|
||||
The @|void-const| value is always @racket[eq?] to itself, and the
|
||||
@|undefined-const| value is also @racket[eq?] to itself.
|
||||
|
||||
@defproc[(void? [v any/c]) void?]{Returns @racket[#t] if @racket[v] is the
|
||||
constant @|void-const|, @racket[#f] otherwise.}
|
||||
|
|
Loading…
Reference in New Issue
Block a user