Because if creating the writer fails, you don't dispose the reader.

Also because I'm kind of hoping to remove duplex-stream too :-)

On Apr 22, 2008, at 2:40 PM, Eduardo Cavazos wrote:

> Why couldn't the above example be written like this:
>
> "in.txt"  utf8   <file-reader>
> "out.txt" latin1 <file-writer>
> <duplex-stream>
>  [ ... ]
> with-stream

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to