Add rough draft of docs for Top/Bot to quiet DrDr.

This commit is contained in:
Eric Dobson 2014-01-27 08:36:35 -08:00
parent b07fa81950
commit 2016ab1c2f

View File

@ -513,6 +513,14 @@ functions and continuation mark functions.
(is-zero? 2 #:equality =)
(is-zero? 2 #:equality eq? #:zero 2.0)]}
@deftogether[(
@defidform[Top]
@defidform[Bot])]{ These are filters that can be used with @racket[->].
@racket[Top] is the filter with no information.
@racket[Bot] is the filter which means the result cannot happen.
}
@defidform[Procedure]{is the supertype of all function types. The @racket[Procedure]
type corresponds to values that satisfy the @racket[procedure?] predicate.
Because this type encodes @emph{only} the fact that the value is a procedure, and