Fork me on GitHub
#clojure-spec
<
2019-10-01
>
Oliver George23:10:51

It'd be nice if defn did s/instrument when you're working at the repl.

Oliver George23:10:15

Any chance something like that is on the radar?

Alex Miller (Clojure team)23:10:14

I think that’d be wrong for everyone sometimes

Alex Miller (Clojure team)23:10:52

I’d prefer to have a lot more control over things like that

seancorfield23:10:56

Agreed. I definitely would not want auto-instrument at the REPL (and how would the compiler tell the difference between REPL and regular running since the semantics are the same?).

seancorfield23:10:31

(remember that not everyone AOT's code!)