Changeset 13659 in project for chicken/trunk/manual/Unit ports


Ignore:
Timestamp:
03/10/09 10:11:14 (11 years ago)
Author:
felix winkelmann
Message:

small manual fixes; merged wiki changes (rev. 13647) into manual

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/manual/Unit ports

    r11646 r13659  
    1212==== with-output-to-port
    1313
    14  [procedure] (with-output-to-port PORT THUNK)
     14<procedure>(with-output-to-port PORT THUNK)</procedure>
    1515
    1616Call procedure {{THUNK}} with the current output-port temporarily
     
    1919==== make-input-port
    2020
    21  [procedure] (make-input-port READ READY? CLOSE [PEEK])
     21<procedure>(make-input-port READ READY? CLOSE [PEEK])</procedure>
    2222
    2323Returns a custom input port. Common operations on this
     
    3737==== make-output-port
    3838
    39  [procedure] (make-output-port WRITE CLOSE [FLUSH])
     39<procedure>(make-output-port WRITE CLOSE [FLUSH])</procedure>
    4040
    4141Returns a custom output port. Common operations on this port are handled
     
    4949==== with-error-output-to-port
    5050
    51  [procedure] (with-error-output-to-port PORT THUNK)
     51<procedure>(with-error-output-to-port PORT THUNK)</procedure>
    5252
    5353Call procedure {{THUNK}} with the current error output-port
     
    5757==== with-input-from-port
    5858
    59  [procedure] (with-input-from-port PORT THUNK)
     59<procedure>(with-input-from-port PORT THUNK)</procedure>
    6060
    6161Call procedure {{THUNK}} with the current input-port temporarily
     
    6767==== call-with-input-string
    6868
    69  [procedure] (call-with-input-string STRING PROC)
     69<procedure>(call-with-input-string STRING PROC)</procedure>
    7070
    7171Calls the procedure {{PROC}} with a single argument that is a
     
    7575==== call-with-output-string
    7676
    77  [procedure] (call-with-output-string PROC)
     77<procedure>(call-with-output-string PROC)</procedure>
    7878
    7979Calls the procedure {{PROC}} with a single argument that is a
     
    8383==== with-input-from-string
    8484
    85  [procedure] (with-input-from-string STRING THUNK)
     85<procedure>(with-input-from-string STRING THUNK)</procedure>
    8686
    8787Call procedure {{THUNK}} with the current input-port temporarily
     
    9191==== with-output-to-string
    9292
    93  [procedure] (with-output-to-string THUNK)
     93<procedure>(with-output-to-string THUNK)</procedure>
    9494
    9595Call procedure {{THUNK}} with the current output-port temporarily
     
    101101==== port-for-each
    102102
    103  [procedure] (port-for-each FN THUNK)
     103<procedure>(port-for-each FN THUNK)</procedure>
    104104
    105105Apply {{FN}} to successive results of calling the zero argument procedure {{THUNK}}
     
    108108==== port-map
    109109
    110  [procedure] (port-map FN THUNK)
     110<procedure>(port-map FN THUNK)</procedure>
    111111
    112112Apply {{FN}} to successive results of calling the zero argument procedure {{THUNK}}
     
    115115==== port-fold
    116116
    117  [procedure] (port-map FN ACC THUNK)
     117<procedure>(port-map FN ACC THUNK)</procedure>
    118118
    119119Apply {{FN}} to successive results of calling the zero argument procedure {{THUNK}},
     
    126126==== make-broadcast-port
    127127
    128  [procedure] (make-broadcast-port PORT ...)
     128<procedure>(make-broadcast-port PORT ...)</procedure>
    129129
    130130Returns a custom output port that emits everything written into it to
     
    134134==== make-concatenated-port
    135135
    136  [procedure] (make-concatenated-port PORT1 PORT2 ...)
     136<procedure>(make-concatenated-port PORT1 PORT2 ...)</procedure>
    137137
    138138Returns a custom input port that reads its input from {{PORT1}}, until it
Note: See TracChangeset for help on using the changeset viewer.