[r6rs-discuss] [Formal] need make-custom-textual-input-port and make-custom-textual-output-port

From: Per Bothner <per>
Date: Thu Mar 15 04:00:42 2007

---
This message is a formal comment which was submitted to formal-comment_at_r6rs.org, following the requirements described at: http://www.r6rs.org/process.html
---
Type: Defect
Priority: Major
Component: I/O
Version: 5.92
The procedures make-custom-binary-input-port and
make-custom-binary-output-port allow one to create
custom binary ports.  However, there seems to be
no way to create similar textual ports.  I guess
in theory one might be able to wrap a transcoder
around a custom binary port but that seems horribly
wrong when there is no underlying byte stream.
Specifically, it should be possible to implement
open-string-input-port and open-string-output-port
using purely public procedures.
Furthermore, open-string-input-port should return
a seekable port.  See my other comment.
'allow port position to be "magic cookie"'
-- 
	--Per Bothner
per_at_bothner.com   http://per.bothner.com/
Received on Wed Mar 14 2007 - 17:47:36 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC