bug#24816: Bug in (rnrs io ports) procedure open-string-output-port

2017-03-01 Thread Andy Wingo
On Sat 29 Oct 2016 12:29, Freja Nordsiek writes: > The "open-string-output-port" procedure in (rnrs io ports) returns two > values, a string port and a thunk that returns a string of the > characters written to the port so far. In the R6RS standard documents, > the reading procedure is destructiv

bug#24816: Bug in (rnrs io ports) procedure open-string-output-port

2016-10-29 Thread Freja Nordsiek
The "open-string-output-port" procedure in (rnrs io ports) returns two values, a string port and a thunk that returns a string of the characters written to the port so far. In the R6RS standard documents, the reading procedure is destructive, in that it clears all the characters written to the port