Liking cljdoc? Tell your friends :D

convex.read

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.
raw docstring

fileclj

(file filename)

Reads one cell from the given filename.

Reads one cell from the given `filename`.
sourceraw docstring

file+clj

(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.
sourceraw docstring

line+clj

(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.
sourceraw docstring

resourceclj

(resource path)

Reads one cell from resource located under path on the classpath.

Reads one cell from resource located under `path` on the classpath.
sourceraw docstring

resource+clj

(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.
sourceraw docstring

streamclj

(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.
sourceraw docstring

stream+clj

(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.
sourceraw docstring

stringclj

(string string)

Reads one cell from the given string.

Reads one cell from the given `string`.
sourceraw docstring

string+clj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close