(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.
(conj-val a val)
Remove a value from an atomic set.
Remove a value from an atomic set.
(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.
(disj-val a val)
Remove a value from an atomic set.
Remove a value from an atomic set.
(dissoc-val a key)
Remove a key from an atomic map.
Remove a key from an atomic map.
(keywordize x)
Turn argument into a string, then a keyword.
Turn argument into a string, then a keyword.
(pack coll)
Pack a sequence into a byte array.
Pack a sequence into a byte array.
(parse-int s)
Coerce a string to integer.
Coerce a string to integer.
(reverse-map table)
Reverses a map, keywordizing the value.
Reverses a map, keywordizing the value.
(sizeof-string s)
Count the number of bytes in a string.
Count the number of bytes in a string.
(with-server server & body)
Helper macro for tests and one-off connections.
Helper macro for tests and one-off connections.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close