Document ordering in `case-lambda' types.

Closes PR 11394.
This commit is contained in:
Sam Tobin-Hochstadt 2010-11-07 17:54:00 -05:00
parent 3199fd166f
commit 25d2827d0d

View File

@ -216,7 +216,8 @@ by @racket[read].}
@defform[(U t ...)]{is the union of the types @racket[t ...].
@ex[(λ: ([x : Real])(if (> 0 x) "yes" 'no))]}
@defform[(case-lambda fun-ty ...)]{is a function that behaves like all of
the @racket[fun-ty]s. The @racket[fun-ty]s must all be function
the @racket[fun-ty]s, considered in order from first to last.
The @racket[fun-ty]s must all be function
types constructed with @racket[->].}
@defform/none[(t t1 t2 ...)]{is the instantiation of the parametric type
@racket[t] at types @racket[t1 t2 ...]}