lispdoc - results for with-input-from-file |
(alexandria.0.dev:with-input-from-file (stream-name file-name &rest args &key (direction nil direction-p) &allow-other-keys) &body body) | Function: Evaluate BODY with STREAM-NAME to an input stream on the file FILE-NAME. ARGS is sent as is to the call to OPEN except EXTERNAL-FORMAT, which is only sent to WITH-OPEN-FILE when it's not NIL.
|
(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 |