Functions for better interoperability between fif and a clojure(script) client.
Functions for better interoperability between fif and a clojure(script) client.
(form & body)
(form &form &env & body)
quoted form with escaped evaluation. Values preceding fif-clojure-value-escape are evaluated in clojure(script).
Examples:
;; Assuming we want to pull a clojure value into the a quoted form (def x 10) (form value %= x) ;; => '[form value 10]
Notes:
quoted form with escaped evaluation. Values preceding *fif-clojure-value-escape* are evaluated in clojure(script). Examples: ;; Assuming we want to pull a clojure value into the a quoted form (def x 10) (form value %= x) ;; => '[form value 10] Notes: - *fif-clojure-value-escape can be replaced with a different escape symbol as desired.
(form-string & body)
(form-string &form &env & body)
Equivlant to form
, but presents the result as a string that can
be consumed by a fif stack-machine.
Equivlant to `form`, but presents the result as a string that can be consumed by a fif stack-machine.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close