Liking cljdoc? Tell your friends :D

hara.event.condition.util


is-special-formclj

(is-special-form k form)
(is-special-form k form syms)
raw docstring

parse-default-formclj

(parse-default-form forms)

create option for default behavior

(parse-default-form '((default 1000))) => [1000]

create option for default behavior

(parse-default-form '((default 1000)))
=> [1000]
raw docstring

parse-on-any-handler-formsclj

(parse-on-any-handler-forms forms)

create form for handling manage/on-any blocks

(parse-on-any-handler-forms '((on-any [] :do-something))) => '[{:checker (quote _), :fn (clojure.core/fn [{:keys []}] :do-something)}]

create form for handling `manage/on-any` blocks

(parse-on-any-handler-forms '((on-any [] :do-something)))
=> '[{:checker (quote _), :fn (clojure.core/fn [{:keys []}] :do-something)}]
raw docstring

parse-on-handler-formsclj

(parse-on-handler-forms forms)

create form for handling manage/on blocks

(parse-on-handler-forms '((on :stuff [] :do-something))) => '[{:checker :stuff, :fn (clojure.core/fn [{:keys []}] :do-something)}]

create form for handling `manage/on` blocks

(parse-on-handler-forms '((on :stuff [] :do-something)))
=> '[{:checker :stuff, :fn (clojure.core/fn [{:keys []}] :do-something)}]
raw docstring

parse-option-formsclj

(parse-option-forms forms)

create a label read the option forms

(parse-option-forms '((option :NIL [] nil))) => '{:NIL (clojure.core/fn [] nil)}

create a label read the option forms

(parse-option-forms '((option :NIL [] nil)))
=> '{:NIL (clojure.core/fn [] nil)}
raw docstring

parse-try-formsclj

(parse-try-forms forms)

create form for handling try blocks

(parse-try-forms '((catch Throwable t))) => '[(catch Throwable t)]

create form for handling try blocks

(parse-try-forms '((catch Throwable t)))
=> '[(catch Throwable t)]
raw docstring

sp-formsclj

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

× close