Liking cljdoc? Tell your friends :D

clojopts.util


!clj


?cljmacro

(? val)

A useful debugging tool when you can't figure out what's going on: wrap a form with ?, and the form will be printed alongside its result. The result will still be passed along.

A useful debugging tool when you can't figure out what's going on:
wrap a form with ?, and the form will be printed alongside
its result. The result will still be passed along.
raw docstring

keywordizecljmacro

(keywordize vars)

Create a map in which, for each symbol S in vars, (keyword S) is a key mapping to the value of S in the current scope.

Create a map in which, for each symbol S in vars, (keyword S) is a
key mapping to the value of S in the current scope.
raw docstring

transform-ifclj

(transform-if pred f x)
(transform-if pred f f-not x)

Tests pred against its argument. If the result is logical true, return (f arg); otherwise, return (f-not arg) (defaults to identity).

Tests pred against its argument. If the result is logical true,
return (f arg); otherwise, return (f-not arg) (defaults to identity).
raw docstring

validatorclj

(validator pred)

verifyclj

(verify pred x)

word-wrapclj

(word-wrap s width)

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

× close