(comp-post-processors & fs)
Compose multiple post-processors together.
Compose multiple post-processors together.
(mark-success rule value _ env _)
Capture in the env that the rule succeeded.
Capture in the env that the rule succeeded.
(merge-metadata & forms)
Attach a post processor that will merge the original value's metadata into the new value's metadata.
If a merge strategy is attached to the new value as :rule/merge-meta, use that fn to do the merge. The :rule/merge-meta key will be removed from the resulting metadata.
Attach a post processor that will merge the original value's metadata into the new value's metadata. If a merge strategy is attached to the new value as :rule/merge-meta, use that fn to do the merge. The :rule/merge-meta key will be removed from the resulting metadata.
(merge-metadata* rule)
(merge-metadata* rule value orig-value env orig-env)
Merge the original value's metadata into the new value's metadata.
If a merge strategy is attached to the new value as :rule/merge-meta, use that fn to do the merge. The :rule/merge-meta key will be removed from the resulting metadata.
Merge the original value's metadata into the new value's metadata. If a merge strategy is attached to the new value as :rule/merge-meta, use that fn to do the merge. The :rule/merge-meta key will be removed from the resulting metadata.
(post-processor rule)
(post-processors)
Get the currently active default post-processors
Get the currently active default post-processors
(raw & forms)
Don't attach any additional post-processing to rules defined within this form
If post processors are attached within the raw form, they will remain.
Don't attach any additional post-processing to rules defined within this form If post processors are attached within the raw form, they will remain.
(use-post-processor pp & forms)
Set all rules except identity rules in this scope to use the given post processor.
Set all rules except identity rules in this scope to use the given post processor.
(use-post-processors pp ident-rule-pp & forms)
Set all rules, including identity rules in this scope to use the given post processor and identity post processor.
Set all rules, including identity rules in this scope to use the given post processor and identity post processor.
(with-post-processor pp rule)
Change the rule to use the given post processor, replacing the old one.
Change the rule to use the given post processor, replacing the old one.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close