ClojureDocs

Nav

Namespaces

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

io-prepl

clojure.core.server

Available since 1.10 (source)
  • (io-prepl & {:keys [valf], :or {valf pr-str}})
prepl bound to *in* and *out*, suitable for use with e.g. server/repl (socket-repl).
:ret and :tap vals will be processed by valf, a fn of one argument
or a symbol naming same (default pr-str)
 Alpha, subject to change.