Handles the parsing of background forms. For the moment, this includes both state changes and fact-wide prerequisites.
Handles the parsing of background forms. For the moment, this includes both state changes and fact-wide prerequisites.
(after _wrapping-target_ after-form)
Code to run after a given wrapping target (:facts, :contents, :checks). Used with background and against-background
Code to run after a given wrapping target (:facts, :contents, :checks). Used with background and against-background
(against-background-contents-wrappers [_against-background_ background-forms & _
:as form])
(against-background-facts-and-checks-wrappers [_against-background_
background-forms & _])
(around _wrapping-target_ around-form)
Code to run around a given wrapping target (:facts, :contents, :checks). Use the symbol '?form' to denote the code that is being wrapped around.
Ex. (around :contents (let [a 999] ?form (print a)))
Used with background and against-background
Code to run around a given wrapping target (:facts, :contents, :checks). Use the symbol '?form' to denote the code that is being wrapped around. Ex. (around :contents (let [a 999] ?form (print a))) Used with background and against-background
(assert-right-shape! form)
This is concerned only with the background-changers.
This is concerned only with the background-changers.
(before _wrapping-target_ before-form & {:keys [after]})
Code to run before a given wrapping target (:facts, :contents, :checks). Can take an optional keyword argument :after, for any code to run afterward. Used with background and against-background
Code to run before a given wrapping target (:facts, :contents, :checks). Can take an optional keyword argument :after, for any code to run afterward. Used with background and against-background
(body-of-against-background [_against-background_ _background-forms_ &
background-body :as form])
(separate-extractable-background-changing-forms fact-body-forms)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close