On Jan 22, 2009, at 12:36 PM, Stuart Sierra wrote:

>
> On Jan 21, 2:33 pm, Rich Hickey <richhic...@gmail.com> wrote:
>> I've started documenting the streams work I have been doing, for  
>> those
>> interested:
>
> Cool!  3 questions:
>
> 1. Can you feed things into a stream?

Yes, you can put a generator on the end of a queue.

>
>
> 2. Could streams be used for I/O?
>

Yes, that's one of the primary use cases.

> 3. Can streams have clean-up/close code when they are emptied or go
> out of scope?


I'm addressing the resource cleanup issue more generally in a scope  
mechanism, also present in the streams SVN branch. Still in progress,  
but you can get the gist of it here:

http://paste.lisp.org/display/73838

Rich


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to