Document contract-profile-thunk.
This commit is contained in:
parent
0d689ed389
commit
3a2c2514a6
|
@ -239,6 +239,5 @@
|
||||||
(and (not (empty? s)) (vector-ref (car s) 0))))
|
(and (not (empty? s)) (vector-ref (car s) 0))))
|
||||||
(analyze-contract-samples contract-samples samples)))))
|
(analyze-contract-samples contract-samples samples)))))
|
||||||
|
|
||||||
;; TODO: document
|
|
||||||
(define (contract-profile-thunk f)
|
(define (contract-profile-thunk f)
|
||||||
(contract-profile/user (f)))
|
(contract-profile/user (f)))
|
||||||
|
|
|
@ -67,3 +67,8 @@ file.
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@defproc[(contract-profile-thunk [thunk (-> any)]) any]{
|
||||||
|
Like @racket[contract-profile], but as a function which takes a thunk to
|
||||||
|
profile as argument.
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user