Liking cljdoc? Tell your friends :D

phlegyas.util


assoc-valclj

(assoc-val a key val)

Associate a key with the value in an atomic map.

Associate a key with the value in an atomic map.
sourceraw docstring

conj-valclj

(conj-val a val)

Remove a value from an atomic set.

Remove a value from an atomic set.
sourceraw docstring

defn-frame-bindingcljmacro

(defn-frame-binding name args body)
(defn-frame-binding name docstr args body)

A wrapper around defn which wraps the body forms in with-frame-bindings, which is an anaphoric macro that creates a lexical environment and defines a number of useful variables for us.

A wrapper around defn which wraps the body forms in `with-frame-bindings`,
which is an anaphoric macro that creates a lexical environment and defines
a number of useful variables for us.
sourceraw docstring

disj-valclj

(disj-val a val)

Remove a value from an atomic set.

Remove a value from an atomic set.
sourceraw docstring

dissoc-valclj

(dissoc-val a key)

Remove a key from an atomic map.

Remove a key from an atomic map.
sourceraw docstring

keywordizecljmacro

(keywordize x)

Turn argument into a string, then a keyword.

Turn argument into a string, then a keyword.
sourceraw docstring

packclj

(pack coll)

Pack a sequence into a byte array.

Pack a sequence into a byte array.
sourceraw docstring

parse-intclj

(parse-int s)

Coerce a string to integer.

Coerce a string to integer.
sourceraw docstring

reverse-mapcljmacro

(reverse-map table)

Reverses a map, keywordizing the value.

Reverses a map, keywordizing the value.
sourceraw docstring

sha-strclj

(sha-str s)
source

sizeof-stringclj

(sizeof-string s)

Count the number of bytes in a string.

Count the number of bytes in a string.
sourceraw docstring

with-frame-bindingscljmacro

(with-frame-bindings body)
(with-frame-bindings frame body)
source

with-servercljmacro

(with-server server & body)

Helper macro for tests and one-off connections.

Helper macro for tests and one-off connections.
sourceraw docstring

wrap-bufferclj

(wrap-buffer x)

Wraps a byte-array in a Java ByteBuffer, using little-endian byte order as required by the 9P2000 protocol.

Wraps a byte-array in a Java ByteBuffer, using little-endian
byte order as required by the 9P2000 protocol.
sourceraw docstring

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

× close