Liking cljdoc? Tell your friends :D

sparkplug.scala

Commonly used utilities for interop with Scala objects.

Commonly used utilities for interop with Scala objects.

from-pairclj

(from-pair pair)

Coerce a Scala pair (Tuple2) value to a Clojure value. Returns map entry values for efficiency. Recursively walks the structure to ensure all nested values are Clojure-compatible.

Coerce a Scala pair (`Tuple2`) value to a Clojure value. Returns map entry
values for efficiency. Recursively walks the structure to ensure all nested
values are Clojure-compatible.
raw docstring

from-tupleclj

(from-tuple t)

Coerce a Scala tuple value to a Clojure vector. Recursively walks the structure to ensure all nested tuples are converted.

Coerce a Scala tuple value to a Clojure vector. Recursively walks the
structure to ensure all nested tuples are converted.
raw docstring

resolve-optionclj

(resolve-option o)

Resolve an optional type to some value or nil.

Resolve an optional type to some value or nil.
raw docstring

to-pairclj

(to-pair entry)

Coerce a Clojure value to a Scala pair (Tuple2).

Coerce a Clojure value to a Scala pair (`Tuple2`).
raw docstring

tupleclj

(tuple a)
(tuple a b)
(tuple a b c)
(tuple a b c d)
(tuple a b c d e)
(tuple a b c d e f)
(tuple a b c d e f g)
(tuple a b c d e f g h)
(tuple a b c d e f g h i)

Construct a Scala tuple. Supports tuples up to size 9.

Construct a Scala tuple. Supports tuples up to size 9.
raw docstring

tuple->vecclj

(tuple->vec v)

Coerce a Scala tuple to a Clojure vector. Supports tuples up to size 9.

Coerce a Scala tuple to a Clojure vector. Supports tuples up to size 9.
raw docstring

vec->tupleclj

(vec->tuple v)

Coerce a Clojure vector to a Scala tuple. Supports tuples up to size 9.

Coerce a Clojure vector to a Scala tuple. Supports tuples up to size 9.
raw docstring

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

× close