Changes between Version 3 and Version 4 of PortsShinn


Ignore:
Timestamp:
06/29/11 00:58:08 (6 years ago)
Author:
cowan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortsShinn

    v3 v4  
    3131}}} 
    3232 
    33 The standard input and output ports which `current-input-port` and 
    34 `current-output-port` are bound to are not opened explicitly, so they 
    35 present some difficulty.  They default to character, but can be 
    36 converted to binary with the following procedures: 
    37  
    38   * (standard-input-is-binary!) 
    39   * (standard-output-is-binary!) 
    40  
    41 It is an error to call either of these if the corresponding 
    42 `current-in/output-port` is not the original value, or if any I/O has 
    43 been performed on them. 
    4433 
    4534The following operations can be performed on binary ports as in the 
     
    5746  * (call-with-port <port> <proc>) 
    5847 
     48If we decide not to have `close-port`, which this procedure implicitly depends on, then this proposal will instead provide two procedures: 
     49 
     50  * (call-with-input-port <port> <proc>) 
     51  * (call-with-output-port <port> <proc>) 
     52 
     53 
    5954{{{ 
    6055Note that `current-in/output-port` are parameters, and can be 
     
    6358}}} 
    6459 
    65 See also BlobIoShinn, which is incorporated by reference.