Back
remote-prepl (clj)
(source)function
(remote-prepl host port in-reader out-fn & {:keys [valf readf], :or {valf read-string, readf (fn* [p1__293# p2__294#] (read p1__293# false p2__294#))}})
Implements a prepl on in-reader and out-fn by forwarding to a
remote [io-]prepl over a socket. Messages will be read by readf, a
fn of a LineNumberingPushbackReader and EOF value or a symbol naming
same (default #(read %1 false %2)),
:ret and :tap vals will be processed by valf, a fn of one argument
or a symbol naming same (default read-string). If that function
throws, :val will be unprocessed.
Alpha, subject to change.