[racket] turning input-port into file-stream port

From: Vlad Kozin (vladilen.kozin at gmail.com)
Date: Tue Nov 12 16:07:09 EST 2013

I should also mention that doing this by creating a temporary file feels incredibly hacky if only because it never gets deleted. If anyone can think of a better pattern pls share. 

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



On Nov 12, 2013, at 4:04 PM, Vlad Kozin wrote:

> Hi all. 
> 
> Can somebody pls have a look at this code. I can't figure out why it doesn't work. Input is certainly seen inside the background thread that I spawn to pump data from one port to another. But the main thread seems to receive an empty port.
> 
> Thanks
> ---
> Vlad Kozin <vladilen.kozin at gmail.com>
> 
> 
> 

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

Posted on the users mailing list.