I'm trying out to write scripts using lumo
for small things that maybe don't really have any dependencies
with #!/usr/bin/env lumo
it seems to work great
I wonder if I can still work with Cider though to do some REPL development as well
any luck with that?
@andrea.crotti https://github.com/anmonteiro/lumo/issues/171
inf-clojure
seems the best bet there
@andrea.crotti for planck, see http://planck-repl.org/ides.html - it’s similar to working with lumo
yeah inf-clojure
also sounds good
I'll give it a go thanks
so I added
(clojure-mode
(inf-clojure-generic-cmd . "lumo -d"))
to my .dir-locals.el
but I get strange errors like
prob-46=> (prime? 10)
IllegalStateException Attempting to call unbound fn: #'prob-46/prime? clojure.lang.Var$Unbound.throwArity (Var.java:43)
prob-46=>
prob-46=> ClassNotFoundException planck.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381)
not sure why it tries to find planck
actulaly
mm it appears to work now, it looks like it fixed itself for once:smile:
anyway pretty good already I think I can definitively start writing more scripts this way