clojure-dev

tstout 2025-02-06T12:24:08.026169Z

After starting a prepl server via:

clojure -J-Dclojure.server.jvm="{:port 5555 :accept clojure.core.server/io-prepl}"
Clojure 1.12.0
user=>
Executing eval of
*repl*
reveals it is false:
nc localhost 5555
*repl*
{:tag :ret, :val "false", :ns "user", :ms 0, :form "*repl*"}
Is this expected behavior? It prevents the use of add-lib and friends.

borkdude 2025-02-06T12:28:52.133649Z

workaround:

(alter-var-root #'*repl* (constantly true))

Alex Miller (Clojure team) 2025-02-06T13:37:49.816339Z

Should probably be set

Alex Miller (Clojure team) 2025-02-06T13:38:21.446259Z

Can you file on ask?

tstout 2025-02-06T13:44:39.647969Z

Not sure what 'on ask?' is

Alex Miller (Clojure team) 2025-02-06T13:45:51.773149Z

Sorry, can you post it on https://ask.clojure.org and I will turn it into a ticket from there

1