Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.textp.alpha.lib.input

This namespace provides a way to pass information from the evaluation environment to some textp text being evaluated.

The idea is to have some code looking like this:

(with-input {:k1 v1}
  (-> "some/doc"
      slurp
      read-from-string
      eval
      compile
      (->> (spit "some/where"))))

The inputs are passed via fr.jeremyschoffen.textp.alpha.lib.input/with-input. The code being evaluated can then use this inputs by requiring and using fr.jeremyschoffen.textp.alpha.lib.input/*input*.

This namespace provides a way to pass information from the evaluation environment to
some textp text being evaluated.

The idea is to have some code looking like this:
```clojure
(with-input {:k1 v1}
  (-> "some/doc"
      slurp
      read-from-string
      eval
      compile
      (->> (spit "some/where"))))
```

The inputs are passed via [[fr.jeremyschoffen.textp.alpha.lib.input/with-input]]. The code being evaluated can
then use this inputs by requiring and using [[fr.jeremyschoffen.textp.alpha.lib.input/*input*]].
raw docstring

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

× close