Reading, parsing various kind of sources into CVX cells without any evaluation.
Attention, currently, functions that read only one cell fail when the input contains more than one. In the future, behavior should be improved. For instance, consuming cells one by one from a stream.
Also see the convex.write
namespace for the opposite idea.
Reading, parsing various kind of sources into CVX cells without any evaluation. Attention, currently, functions that read only one cell fail when the input contains more than one. In the future, behavior should be improved. For instance, consuming cells one by one from a stream. Also see the [[convex.write]] namespace for the opposite idea.
(file filename)
Reads one cell from the given filename
.
Reads one cell from the given `filename`.
(file+ filename)
Like file
but reads all available cells and returns them in a CVX list.
Like [[file]] but reads all available cells and returns them in a CVX list.
(line+ buffered-reader)
Reads a line from the given java.io.BufferedReader
and parses the result as a CVX list of cells.
Reads a line from the given `java.io.BufferedReader` and parses the result as a CVX list of cells.
(resource path)
Reads one cell from resource located under path
on the classpath.
Reads one cell from resource located under `path` on the classpath.
(resource+ path)
Like resource
but reads all available cells and returns them in a CVX list.
Like [[resource]] but reads all available cells and returns them in a CVX list.
(stream reader)
Reads one cell from the given java.io.Reader
(parent class of text streams).
Rest of the stream is discarded.
Reads one cell from the given `java.io.Reader` (parent class of text streams). Rest of the stream is discarded.
(stream+ reader)
Like stream
but reads all available text cells and returns them in a CVX list.
Like [[stream]] but reads all available text cells and returns them in a CVX list.
(string string)
Reads one cell from the given string
.
Reads one cell from the given `string`.
(string+ string)
Like string
but reads all available text cells and returns them in a CVX list.
Like [[string]] but reads all available text cells and returns them in a CVX list.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close