(form-seq reader)
Lazy seq of forms read from a reader
Lazy seq of forms read from a reader
An extension point for operations in config files.
An extension point for operations in config files.
(mapify form origin config)
Turns a form read from a config file at origin
into a map.
Turns a form read from a config file at `origin` into a map.
(merge-config path config-forms)
Merges the configs read
Merges the configs read
(path-relative-to url other)
Given two paths p1
and p2
, returns a path that is the
combination of them. If p2
is absolute, p2
is returned.
Otherwise p1/p2 is returned.
Given two paths `p1` and `p2`, returns a path that is the combination of them. If `p2` is absolute, `p2` is returned. Otherwise p1/p2 is returned.
(read-config path)
Returns a map read from path
. Map will be generated by merging all
forms found in file. Lists are interpreted as invocations of the
invoke-extension
multimethod, dispatched on the symbol in the
first position.
Example:
(include "something.edn") ;; Comments are ignored {:foo :bar :bar 1234}
Might yield:
{:foo :bar :from-something 4321 :bar 1234}
Returns a map read from `path`. Map will be generated by merging all forms found in file. Lists are interpreted as invocations of the `invoke-extension` multimethod, dispatched on the symbol in the first position. Example: (include "something.edn") ;; Comments are ignored {:foo :bar :bar 1234} Might yield: {:foo :bar :from-something 4321 :bar 1234}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close