ClojureDocs

导航

命名空间

io-prepl

clojure.core.server

1.10 版开始提供
  • (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.