Re: [PATCH] Make get-bytevector-all suspendable.

2024-06-16 Thread Ludovic Courtès
Hi Maxime, Maxime Devos skribis: > It currently is difficult to write a correct implementation of > get-bytevector-all in pure Scheme, because ‘get-bytevector-all’ needs to > return a _fresh_ bytevector and could return twice (e.g. in case of > system-async-mark + call-with-prompt shenanigans

RE: [PATCH] Make get-bytevector-all suspendable.

2024-06-16 Thread Maxime Devos
>> It currently is difficult to write a correct implementation of >> get-bytevector-all in pure Scheme, because ‘get-bytevector-all’ needs to >> return a _fresh_ bytevector and could return twice (e.g. in case of >> system-async-mark + call-with-prompt shenanigans). I think the proposed >> impl