Fork me on GitHub
#lumo
<
2018-06-23
>
andrea.crotti15:06:45

I'm trying out to write scripts using lumo

andrea.crotti15:06:57

for small things that maybe don't really have any dependencies

andrea.crotti15:06:09

with #!/usr/bin/env lumo it seems to work great

andrea.crotti15:06:26

I wonder if I can still work with Cider though to do some REPL development as well

andrea.crotti15:06:31

any luck with that?

borkdude15:06:23

inf-clojure seems the best bet there

borkdude15:06:25

@andrea.crotti for planck, see http://planck-repl.org/ides.html - it’s similar to working with lumo

andrea.crotti15:06:23

yeah inf-clojure also sounds good

andrea.crotti15:06:27

I'll give it a go thanks

andrea.crotti15:06:17

so I added

(clojure-mode
  (inf-clojure-generic-cmd . "lumo -d"))

andrea.crotti15:06:20

to my .dir-locals.el

andrea.crotti15:06:37

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)

andrea.crotti15:06:49

not sure why it tries to find planck actulaly

andrea.crotti16:06:42

mm it appears to work now, it looks like it fixed itself for once:smile:

andrea.crotti16:06:02

anyway pretty good already I think I can definitively start writing more scripts this way