(pathify f x)
(pathify f pk x)
Return a list of tuples. Each tuple will be of a key-path (similar to what get-in takes) and the value at that point. NOTE: get-in will not necessarily work on the data structure as get-in doesn't work on lists. NOTE: Has a special case for tags (could this be removed?) (tag-kvs) NOTE: May have a limit due to recursion not being in the tail position.
Return a list of tuples. Each tuple will be of a key-path (similar to what get-in takes) and the value at that point. NOTE: get-in will not necessarily work on the data structure as get-in doesn't work on lists. NOTE: Has a special case for tags (could this be removed?) (tag-kvs) NOTE: May have a limit due to recursion not being in the tail position.
(read-config source)
(read-config source given-opts)
First argument is a string URL to the file. To read from the current directory just put the file name. To read from the classpath call clojure.java.io/resource on the string before passing it into this function. Optional second argument is a map that can include the following keys: :profile - indicates the profile to use for #profile extension :user - manually set the user for the #user extension :resolver - a function or map used to resolve includes.
First argument is a string URL to the file. To read from the current directory just put the file name. To read from the classpath call clojure.java.io/resource on the string before passing it into this function. Optional second argument is a map that can include the following keys: :profile - indicates the profile to use for #profile extension :user - manually set the user for the #user extension :resolver - a function or map used to resolve includes.
(ref-dependencies ref*)
Recursively checks a ref for nested dependencies
Recursively checks a ref for nested dependencies
(resolve-refs config resolve-fn)
Resolves refs & any necessary tags in order to do it's job
Resolves refs & any necessary tags in order to do it's job
(shorter-variations xs)
Given a sequence '(1 2 3) return a sequence of all shorter possible sequences: '((1 2) (1))
Given a sequence '(1 2 3) return a sequence of all shorter possible sequences: '((1 2) (1))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close