taoensso.tower.utils
defmem-
macro
(defmem- name type-hint fn-params fn-body)
Defines a type-hinted, private memoized fn.
defmem-*
macro
(defmem-* name fn-params fn-body)
Like `defmem-` but wraps body with `thread-local-proxy`.
html-breaks
(html-breaks s)
html-escape
(html-escape s)
html-spaces
(html-spaces s)
leaf-nodes
(leaf-nodes m)
Takes a nested map and squashes it into a sequence of paths to leaf nodes.
Based on 'flatten-tree' by James Reaves on Google Groups.
markdown
(markdown s)
(markdown {:keys [inline? auto-links?], :as opts} s)