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
|
True and false @deftech{booleans} are represented by the values
|
||||||
@racket[#t] and @racket[#f], respectively, though operations that
|
@racket[#t] and @racket[#f], respectively, though operations that
|
||||||
depend on a boolean value typically treat anything other than @racket[#f]
|
depend on a boolean value typically treat anything other than
|
||||||
as true.
|
@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].
|
See also: @racket[and], @racket[or], @racket[andmap], @racket[ormap].
|
||||||
|
|
||||||
|
|
|
@ -229,6 +229,9 @@ that have a side-effect and no useful result. The constant
|
||||||
@|undefined-const| is used as the initial value for @racket[letrec]
|
@|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
|
@defproc[(void? [v any/c]) void?]{Returns @racket[#t] if @racket[v] is the
|
||||||
constant @|void-const|, @racket[#f] otherwise.}
|
constant @|void-const|, @racket[#f] otherwise.}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user