Per Bothner scripsit: > 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.
I hadn't thought about this point, but I think you're absolutely right: custom text ports are essential not only for generic strings, but for things like pulling an external representation lazily out of a data structure. -- John Cowan [EMAIL PROTECTED] http://ccil.org/~cowan If a soldier is asked why he kills people who have done him no harm, or a terrorist why he kills innocent people with his bombs, they can always reply that war has been declared, and there are no innocent people in an enemy country in wartime. The answer is psychotic, but it is the answer that humanity has given to every act of aggression in history. --Northrop Frye _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
