[racket] [scsh vs Racket] examples

From: Vlad Kozin (vladilen.kozin at gmail.com)
Date: Thu Oct 3 18:14:32 EDT 2013

Got it. Thanks Sam. 

Have a question that I just forgot to ask. There's a reason I have (let*-values ..) instead of definitions:

>> (let*-values
>>          ([(to) (open-output-file outfile #:mode 'text #:exists 'replace)]
>>           [(sub in out err) (subprocess to #f 'stdout md5 "-q" infile)])

since ports are let-bound wouldn't they be garbage-collected once I'm out of let-body making all custodian machinery in my code redundant? Its probably somewhere in documentation, but at this point I'm overwhelmed with information :)

cheers
---
Vlad Kozin <vladilen.kozin at gmail.com>



On Oct 3, 2013, at 5:37 PM, Sam Tobin-Hochstadt wrote:

> On Thu, Oct 3, 2013 at 5:12 PM, Vlad Kozin <vladilen.kozin at gmail.com> wrote:
>> 
>> Can my code be improved? Source on github if you want to play with it.
>> I hope to add more examples.
> 
> 
> Overall, this looks right.
> 
> I sent you a pull request with some stylistic changes.
> 
> Sam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131003/44855c6c/attachment.html>

Posted on the users mailing list.