hara.model.spec-bash
bash-assign
added in 4.0
(bash-assign [_ & args :as form] grammar mopts)
bash-check-fn
added in 4.0
(bash-check-fn check)
bash-cond
added in 4.0
(bash-cond [_ check then & more])
cond support for custom vectors
bash-dash-param
added in 4.0
(bash-dash-param k)
if keyword, replace : with -
bash-defn
added in 4.0
(bash-defn [_ sym args & body])
transforms a function to allow for inputs
bash-defn-
added in 4.0
(bash-defn- [_ sym args & body] grammar mopts)
emits a non paramerised version
bash-expand
added in 4.0
(bash-expand [_ inner])
bash-here
added in 4.0
(bash-here [_ term lines])
construct here block and here string
bash-if
added in 4.0
(bash-if [_ check then & [else]])
if support for custom vectors
bash-invoke
added in 4.0
(bash-invoke [f & args] grammar mopts)
outputs an invocation (same as vector)
bash-map
added in 4.0
(bash-map form grammar mopts)
bash-pipeleft
added in 4.0
(bash-pipeleft [_ inner])
constructs pipeleft syntax
bash-piperight
added in 4.0
(bash-piperight [_ inner])
constructs pipeleft syntax
bash-quote
added in 4.0
(bash-quote [_ item] grammar mopts)
bash-quote-item
added in 4.0
(bash-quote-item v grammar mopts)
bash-set
added in 4.0
(bash-set set grammar mopts)
bash-subshell
added in 4.0
(bash-subshell [_ inner])
bash-test
added in 4.0
(bash-test [_ inner])
bash-var
added in 4.0
(bash-var [_ sym & args])
bash-when
added in 4.0
(bash-when [_ check & body])
when support for custom vectors
def$.sh
macro
(def$.sh & body)
def.sh
macro
(def.sh & body)
defmacro.sh
macro
(defmacro.sh & body)
defn.sh
macro
(defn.sh & body)
defptr.sh
macro
(defptr.sh & body)
defrun.sh
macro
(defrun.sh & body)