[racket] [scsh vs Racket] examples

From: Vlad Kozin (vladilen.kozin at gmail.com)
Date: Fri Oct 4 12:49:30 EDT 2013

understood. Thank you!

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



On Oct 4, 2013, at 11:14 AM, Sam Tobin-Hochstadt wrote:

> The port value is GC'ed, but you have to explicitly close it, or use
> `custodian-shutdown-all`, to free the underlying resources.  See the
> docs here: http://www.cs.utah.edu/plt/snapshots/current/doc/reference/ports.html
> 
> Sam
> 
> On Thu, Oct 3, 2013 at 6:32 PM, Vlad Kozin <vladilen.kozin at gmail.com> wrote:
>> got it. But just to confirm port-values in Racket are subject to gc, right?
>> ---
>> Vlad Kozin <vladilen.kozin at gmail.com>
>> 
>> 
>> 
>> On Oct 3, 2013, at 6:20 PM, Sam Tobin-Hochstadt wrote:
>> 
>> On Thu, Oct 3, 2013 at 6:14 PM, Vlad Kozin <vladilen.kozin at gmail.com> wrote:
>> 
>> Got it. Thanks Sam.
>> 
>> 
>> Have a question that I just forgot to ask. There's a reason I have
>> 
>> (let*-values ..) instead of definitions:
>> 
>> 
>> There isn't a difference between the code you wrote an what I wrote --
>> using `define` inside another context just gets transformed into `let`
>> or `let-values`.
>> 
>> Sam
>> 
>> 

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

Posted on the users mailing list.