> If R5RS operations are done on it, it is marked textual > and remains so. If binary operations are done on it, it is marked binary > and remains so.
What if the file has a magic binary header followed by the rest in Unicode text? Another alternatives would be to allow byte and char operations mixed together, understanding that some combinations of these make no sense, but leaving it to the programmer to do only sensible things. This would, for example, allow jumping around while reading a text file by saving the current /byte/ position and then returning to it later. _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
