emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Babel and clojure vars


From: Lawrence Bottorff
Subject: [O] Babel and clojure vars
Date: Tue, 27 Sep 2016 15:03:53 -0400

Once before I was wondering why :vars doesn't seem to work properly with clojure. This works:

#+begin_src clojure :var a='(1 2 3 4 5)
(count a)
#+end_src

#+RESULTS:
: 5

as well as this

#+begin_src emacs-lisp :var a=(number-sequence 1 5)
a
#+end_src

#+RESULTS: num-seq-test1
| 1 | 2 | 3 | 4 | 5 |

but this is a no go. . . .

#+begin_src clojure c=(range 10)
(count c)
#+end_src

eval doesn't help, either.


LB


reply via email to

[Prev in Thread] Current Thread [Next in Thread]