lispdoc - results for with-input-from-sequence |
(flexi-streams:with-input-from-sequence (var sequence &key start end transformer) &body body) | Function: Creates an IN-MEMORY input stream from SEQUENCE using the parameters START and END, binds VAR to this stream and then executes the code in BODY. A function TRANSFORMER may optionally be specified to transform the returned octets. The stream is automatically closed on exit from WITH-INPUT-FROM-SEQUENCE, no matter whether the exit is normal or abnormal. The return value of this macro is the return value of BODY.
|
(with-input-from-string (var string &key index start end) &body forms-decls) | Undocumented
|
Example:(defun retest (str) (with-input-from-string (is str) (read is))) | Mentioned in: CLtL2 - 21.2. Creating New Streams CLtL2 - 21.3. Operations on Streams CLtL2 - 9.1. Declaration Syntax HyperSpec - Macro WITH-INPUT-FROM-STRING PCL - other kinds of io Successful Lisp - chapter19 |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |