use (or/c #t #f 0 1)
even though it's less accurate, since that contract would allow inexact numbers like 0.0 and 1.0
This commit is contained in:
parent
b2afedb70a
commit
47c2288eb6
|
@ -108,7 +108,7 @@ property, @racket[#f] otherwise.}
|
||||||
|
|
||||||
|
|
||||||
@defproc[(custom-write-accessor [v custom-write?])
|
@defproc[(custom-write-accessor [v custom-write?])
|
||||||
(custom-write? output-port? (or/c boolean? (integer-in 0 1)) . -> . any)]{
|
(custom-write? output-port? (or/c #t #f 0 1) . -> . any)]{
|
||||||
|
|
||||||
Returns the custom-write procedure associated with @racket[v].}
|
Returns the custom-write procedure associated with @racket[v].}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user