Liking cljdoc? Tell your friends :D

com.michaelgaare.clojure-polyline


combinerclj

(combiner f xs)
(combiner f x y)

takes a function and a sequence, and then returns a sequence of applying the function to the first element in the sequence, and then the result of that and the second element, and so on

takes a function and a sequence, and then returns a sequence of applying the
function to the first element in the sequence, and then the result of that and
the second element, and so on
sourceraw docstring

compact-coordsclj

(compact-coords coords)
(compact-coords x rem)

Takes a vector of coord vectors, and returns a vector of vectors of the difference from the previous coord. The format that polyline wants

Takes a vector of coord vectors, and returns a vector of vectors of
the difference from the previous coord. The format that polyline wants
sourceraw docstring

coords->vecclj

(coords->vec coords)
source

decodeclj

(decode polystring)
source

decode-chunkclj

(decode-chunk c)
source

encodeclj

(encode coords)
source

encode-coordclj

(encode-coord coord)
source

ints->strclj

(ints->str ints)
source

partition-by-inclusiveclj

(partition-by-inclusive f coll)

like partition-by, but also puts the first non-matching element in the split, and only groups results that return true in the pred f

like partition-by, but also puts the first non-matching element
in the split, and only groups results that return true in the pred f
sourceraw docstring

splitclj

(split ints)
source

vec->coordsclj

(vec->coords coord-vec)
source

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

× close