[racket-dev] [racket] Implementing contracts for async channels

From: Alexis King (lexi.lambda at gmail.com)
Date: Fri Jan 16 13:15:12 EST 2015

Ah, that makes sense, fixed.

> On Jan 16, 2015, at 05:37, Robby Findler <robby at eecs.northwestern.edu> wrote:
> 
> One comment. The contract combinators are curried so that you can do
> work on the partial applications. So don't write this:
> 
> (define ((((ho-val-first-projection
> impersonate/chaperone-async-channel) ctc) blame) val)
> 
> instead try to do some work earlier, when you first can. (The most
> important thing is to minimize the work done after you get the 'val'
> argument.)
> 
> Robby



Posted on the dev mailing list.