(auto-type val)
(groupfn f)
(maybe-parse f)
A poor man's maybe-m: apply the supplied function to anything but nil.
A poor man's maybe-m: apply the supplied function to anything but nil.
(parse-fn {:keys [type group parse default]
:or {type :guess group :maybe-map parse identity}})
Build a function for parsing an option-list, with the specified grouping strategy, type coercion strategy, user-specified parser/transformer, and default value. All of these arguments are optional.
Build a function for parsing an option-list, with the specified grouping strategy, type coercion strategy, user-specified parser/transformer, and default value. All of these arguments are optional.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close