Your second block can't run in a repl unless you have additional
definitions you are not showing here. The error messages are complaining
that
1. There is no function called sum. Clojure does not have a sum function
and your not defining one in this block, so that makes perfect sense.
2. The func
I run the both blocks fine in CIDER REPL, that's weird.
I have the following special settings for ob-clojure.
```elisp
(add-to-list 'org-babel-default-header-args:clojure
'(:eval . "yes"))
(add-to-list 'org-babel-default-header-args:clojure
'(:results . "value pp"))
(add-t
I think there is something wrong with your environment and your second
block is not legal code. If you run your second block directly in a
clojure repl, you will get the same errors, which means it isn't an org issue.
Executing your examples with org from master branch I get
#+BEGIN_SRC clojure
Here is the examples:
#+BEGIN_SRC clojure
(+ 1 1) ;=> 2
#+END_SRC
#+RESULTS:
: class clojure.lang.LispReader$ReaderExceptionclass
java.lang.RuntimeExceptionRuntimeException EOF while reading, starting at
line 1 clojure.lang.Util.runtimeException (Util.java:221)
#+BEGIN_SRC clojure :results valu