[r6rs-discuss] Question about transcoded-port

Abdulaziz Ghuloum aghuloum at cs.indiana.edu
Wed May 23 22:19:24 EDT 2007


Section "8.2.6 Input and output ports" says that the
procedure transcoded-port closes the binary port before
returning the new textual port.  Is there any way to
undo this side effect so that we get the original
binary port functional again?   This might be useful
for application that require writing to a file using
both textual and binary data (examples of such files
are many including PDF files, executables and object
files, etc).  I realize there are ways to get around
this (using custom ports) but was wondering if there
is a direct mechanism.  Thanks.

Aziz,,,



More information about the r6rs-discuss mailing list