Changes between Version 6 and Version 7 of PortsCowan


Ignore:
Timestamp:
09/02/10 10:39:30 (7 years ago)
Author:
cowan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortsCowan

    v6 v7  
    11== Ports == 
    22 
    3 Here's my proposal for WG1 Scheme ports and I/O facilities.  It's fully upward compatible with R5RS, but takes ideas from R6RS, SRFI-91 and SRFI-6.  Many of the concepts are present in R6RS under other names. 
     3Here's my proposal for WG1 Scheme ports and I/O facilities.  It's fully upward compatible with R5RS, but takes ideas from R6RS, SRFI 91 and SRFI 6.  Many of the concepts are present in R6RS under other names. 
    44 
    55The new features beyond R5RS are: 
    66 
    77 * partial control of buffering, character encoding, newline translation, and Scheme case sensitivity 
    8  * string ports (SRFI 6 compatible) 
     8 * string ports (SRFI-6-compatible) 
    99 * binary ports and blob ports (the binary version of string ports) 
    1010 * `current-error-port`, `flush-output-port`, `read-line`, `delete-file`, and `file-exists?` from R6RS 
     
    5151`(output-port? `''obj''`)` 
    5252 
    53 Same as R5RS, but also return true on input/output ports. 
     53Same as R5RS, but also return `#t` on bidirectional ports if the implementation provides them. 
    5454 
    5555`(port? `''obj''`)` 
     
    7979`(close-port)` 
    8080 
    81 Closes both sides of a bidirectional port; otherwise the same as `close-input-port` or `close-output-port` as the case may be. 
     81Closes both sides of a bidirectional port, if the implementation provides them; otherwise the same as `close-input-port` or `close-output-port` as the case may be.  It is harmless to close a part, or one side of it, if it is already closed. 
    8282 
    8383`(eof-object? `''obj''`)`