Liking cljdoc? Tell your friends :D

clojurewerkz.chash.proplists

A very minimalistic and intentionally incomplete implementation of Erlang proplists (ordered pairs that support random access)

A very minimalistic and intentionally incomplete implementation of
Erlang proplists (ordered pairs that support random access)
raw docstring

assocclj

(assoc plist k v)
source

contains?clj

(contains? plist key)

Returns true if the list contains at least one entry for the given key, false otherwise

Returns true if the list contains at least one entry for the given key, false otherwise
sourceraw docstring

countclj

An alias for clojure.core/count, which works exactly the same for proplists

An alias for clojure.core/count, which works exactly the same for proplists
sourceraw docstring

createclj

(create & xs)

Creates a new property list (a vector of pairs)

Creates a new property list (a vector of pairs)
sourceraw docstring

getclj

(get plist key)
(get plist key not-found)

Returns the first value associated with the given key

Returns the first value associated with the given key
sourceraw docstring

index-ofclj

(index-of plist k)
source

keysclj

(keys plist)
source

nthclj

An alias for clojure.core/nth, which will return the nth pair as a vector

An alias for clojure.core/nth, which will return the nth pair as a vector
sourceraw docstring

valsclj

(vals plist)
source

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

× close