[racket] is there anything like a "let/contract"?

From: Sam Tobin-Hochstadt (samth at cs.indiana.edu)
Date: Tue Jul 29 14:41:38 EDT 2014

Wouldn't this be, basically:

(define-syntax-rule (let/contract ([x con e]) body ...)
  (let ([x (with-contract 'x #:result con e)]) body ...))

Sam

On Tue, Jul 29, 2014 at 11:22 AM, Alexander D. Knauth
<alexander at knauth.org> wrote:
> Is there anything like a "let/contract”?
>
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users


Posted on the users mailing list.