Liking cljdoc? Tell your friends :D
Clojure only.

convex.write

Writing, encoding CVX cells various kind of sources.

Binary is big-endian and text is UTF-8.

Also see convex.read for the opposite idea.

Writing, encoding CVX cells various kind of sources.

Binary is big-endian and text is UTF-8.

Also see [[convex.read]] for the opposite idea.
raw docstring

streamclj

(stream writer cell)
(stream writer stringify cell)

Writes the given cell to the given java.io.Writer (parent class of text streams).

By default, standard str is used for stringifying cell. See string for implications.

Writes the given `cell` to the given `java.io.Writer` (parent class of text streams).

By default, standard `str` is used for stringifying `cell`. See [[string]] for implications.
sourceraw docstring

stringclj

(string cell)

Prints the given cell as a string cell.

While standard str is sufficient for other type of cells, this function ensures that CVX strings are escaped so that reading produces a CVX string as well.

For instance, CVX string "foo" produces the following:

FunctionCell after readingType
Clojure str"foo"JVM
This namespace's string""(+ 1 2)""Cell
Prints the given `cell` as a string cell.

While standard `str` is sufficient for other type of cells, this function ensures that CVX strings are escaped
so that reading produces a CVX string as well.

For instance, CVX string "foo" produces the following:

| Function                  | Cell after reading | Type |
|---------------------------|--------------------|------|
| Clojure `str`             | `"foo"`          | JVM  |
| This namespace's `string` | `""(+ 1 2)""`  | Cell |
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close