hi, On Mon, Apr 07, 2008 at 10:45:50AM +0100, Alaric Snell-Pym wrote: > > On 6 Apr 2008, at 5:41 am, Jim Ursetto wrote: > > (b1) and (a1) are written to bar, but then the current output port is > still to bar when (b2) is written, outside of the scope of the with- > output-to-file "bar"; it should go to foo. Likewise, (a2) gets > written to baz and not to foo, and (b1)(t1)(a1) goes to baz and not bar.
whether with-output-to-file returns the current-output-port to its old value when you escape from its thunk is explicitly undefined by r5rs. bye, hans. _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
