I managed to redefine the built-in function vector by mistake.
More specifically, this is what I did:
(def vector [1 2 3 4 5 6])
And this is what I intended to do:
(def my-vector (vector 1 2 3 4 5 6))
Is there some way to "undo" that mistake, without restarting the REPL?
I.e., reverting vector back to its default definition.
(def vector #'clojure.core/vector)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With