Document plet:.
original commit: aeddd7c18cebdcb12046a6491c7616cb0e4c75f4
This commit is contained in:
parent
66d5992c04
commit
905416ec80
|
@ -67,6 +67,11 @@ result of @racket[_loop] (and thus the result of the entire
|
|||
[(even? (car lst)) (loop (cons (car lst) accum) (cdr lst))]
|
||||
[else (loop accum (cdr lst))])))
|
||||
(filter-even-loop (list 1 2 3 4))]}
|
||||
@defform[(plet: (a ...) ([v : t e] ...) . body)]{
|
||||
A polymorphic version of @racket[let:], abstracted over the type variables
|
||||
@racket[a]. The type variables @racket[a] are bound in both the types
|
||||
of the formal, and in any type expressions in the @racket[body].
|
||||
Does not support the looping form of let.}
|
||||
|
||||
@deftogether[[
|
||||
@defform[(letrec: ([v : t e] ...) . body)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user