-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Determine root cause of data readers not working outside of a project #13
Comments
I just made another observation: data readers seem to only work correctly inside of projects with |
Hmm, I wonder if that is because evaluating in a new subprocess does start a new JVM process (thus loading newly depended-upon data-readers), but evaluating inside the existing leiningen one does not. |
Yeah, so, this works: (set! *data-readers* (#'clojure.core/load-data-readers))
(require 'method.fn)
(map #mf/i toUpperCase ["foo" "bar"]) ;; => ("FOO" "BAR") I'll see what happens if I use Leiningen's |
@xsc Thanks, I appreciate that you put this together. Despite being kludgy you put it together pretty well. I wonder if we should ping the Leiningen gang on IRC for a smell test? |
Thanks again @xsc, you have been absolutely invaluable in pushing this plugin forward. I have so much respect for the help you've given. |
Thank you, @rkneufeld! I'm glad I could help improving such an awesome project! |
Currently, the following shell and REPL commands work inside of a project, but not out.
Inside of a project, the result will be
("FOO" "BAR")
. Outside of a project, you will see this error:Determine the root cause of this error, whether it is a fault of Leiningen and if we can correct for the problem
The text was updated successfully, but these errors were encountered: