[racket] [scsh vs Racket] examples

From: Sam Tobin-Hochstadt (samth at cs.indiana.edu)
Date: Fri Oct 4 11:14:50 EDT 2013

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
>
>

Posted on the users mailing list.