So, i've been refreshing the language a bit since im still trying to make my clojure knowledge permanent on long-term memory. Had setup a Remote WSL 2.0 connection to an Arch Linux using VSCode on the host: Windows 11 since i default to developing in Linux for everything.
Problem is simple i guess, but im unable to pinpoint.
trying to call (read-line) from clojure.core renders an Could not resolve symbol: read-line
in my Calva's output, which is using Joyride to start the REPL.
isn't core loaded by default? what's going on
;checking if ns is the problem
(ns encoder)
;repl output check
(defn queue [] 0)
(println str (queue))
(def files-list)
;test
(do (print "Name yourself now: ")
(flush)
(read-line)) => Could not resolve symbol: read-line
;debug test
(println "Enter (literal) filename to encode> ")
(def input (read-line)) => Could not resolve symbol: read-line
(println (str "File to encode: " input))
;cant call read-line from core? wtf
;finish this
(defn add-queue-confirm [filenames]
(println "Files to process: " filenames))