(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]
(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)}]
(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)}]
(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)}
(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)]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close