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 all cells from the given filename and returns them in a CVX list.

Reads all cells from the given `filename` and returns them in a CVX list.
sourceraw docstring

lineclj

(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

streamclj

(stream reader)

Reads all cells from the given java.io.Reader (parent class of text streams) and returns them in a CVX list.

Reads all cells from the given `java.io.Reader` (parent class of text streams) and returns them
in a CVX list.
sourceraw docstring

stringclj

(string string)

Reads all cells from the given string and returns them in a CVX list.

Reads all cells from the given `string` and returns them in a CVX list.
sourceraw docstring

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

× close