https://twitter.com/CursiveIDE/status/1292623354105495557?s=20
I'm trying to follow the answer (below link) to require namespaces in the repl using cursive Tools→REPL→Load file in REPL
However after loading the file, I'm expecting that the namespaces required in that file will be loaded, but they are not. I'm still getting No such namespace
error. Is it expected behaviour?
https://stackoverflow.com/a/27682091/1730988
I've tried it on two namespace. The src/limeray/api/util.clj has only this content
(ns limeray.api.util
(:require [tick.core :as t]))
(t/new-date) ;; I'm trying to send this to repl after loading this ns
(defn uuid
([]
(java.util.UUID/randomUUID))
([uuid-string]
(java.util.UUID/fromString uuid-string)))
Hmm after playing with it, I guess I'm doing silly mistake. My repl should be in the same namespace of the file in order for the symbols to be available 😅