DONE clojure
- State "DONE" from ""
DONE add session support for clojure
-
State "DONE" from ""
Thanks to Joel Boehland org-babel-clojure now supports multiple sessions. This can be exercised through the following
raw org-mode
#+srcname: set-clojure-session-var-s1 #+begin_src clojure :session s1 :results value (def *var* [1 2 3]) #+end_src #+results: set-clojure-session-var-s1 : #'user/*var* #+srcname: set-clojure-session-var-s2 #+begin_src clojure :session s2 :results value (def *var* [3 4 5 6 7 8 9]) #+end_src #+results: set-clojure-session-var-s2 : #'user/*var* #+srcname: get-clojure-session-var-s1 #+begin_src clojure :session s1 :results value (count *var*) #+end_src #+results: get-clojure-session-var-s1 : 3 #+srcname: get-clojure-session-var-s2 #+begin_src clojure :session s2 :results value (count *var*) #+end_src #+results: get-clojure-session-var-s2 : 7
exported to html
(def *var* [1 2 3])
(def *var* [3 4 5 6 7 8 9])
(count *var*)
(count *var*)