On Sun, May 08, 2011 at 09:56:07PM -0300, Jeronimo Pellegrini wrote: > Another queston related to binary and character ports: just as > there are predicates to verify the case of a character, the > exact kind of number (complex?, integer? etc), and wether > a port is for input or output, shouldn't also be predicates > to test wether a port is binary or character? Maybe > character-port? and binary-port?
Oops. Sorry -- I meant "string ports" and "file ports". The predicates character-port? and binary-port? are already there! (string-port? port) (file-port? port) J. _______________________________________________ Scheme-reports mailing list [email protected] http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports
