Liking cljdoc? Tell your friends :D

fif.client

Functions for better interoperability between fif and a clojure(script) client.

Functions for better interoperability between fif and a
clojure(script) client.
raw docstring

*fif-clojure-value-escape*clj/s

source

formclj/s≠macro

clj
(form & body)
cljs
(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:

  • *fif-clojure-value-escape can be replaced with a different escape symbol as desired.
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.
source (clj)source (cljs)raw docstring

form-stringclj/s≠macro

clj
(form-string & body)
cljs
(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.
source (clj)source (cljs)raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close