emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Babel Clojure example problems
@ 2014-06-05  4:49 Lawrence Bottorff
  2014-06-05  9:53 ` Thorsten Jolitz
  0 siblings, 1 reply; 4+ messages in thread
From: Lawrence Bottorff @ 2014-06-05  4:49 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 897 bytes --]

I'm having trouble following the example page on babel and clojure (
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html ).
I believe I've done everything correctly, the first example works:

#+begin_src clojure :results silent
  (+ 1 4)
#+end_src

but the next two. . .

#+begin_src clojure :results value
  [ 1 2 3 4]
#+end_src

#+begin_src clojure :results value
  (def small-map {:a 2 :b 4 :c 8})
  (:b small-map)
#+end_src

. . . bomb, causing slime/swank-looking error buffer:

Package { does not exist.

  Line: 1, Column: 17, File-Position: 17

  Stream: #<SB-IMPL::STRING-INPUT-STREAM {1006B45023}>
   [Condition of type SB-INT:SIMPLE-READER-PACKAGE-ERROR]

Restarts:
 0: [RETRY] Retry SLIME evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [ABORT] Abort thread (#<THREAD "worker" RUNNING {1006B1CB33}>)

I've got the nREPL 0.1.8-preview running.

LB

[-- Attachment #2: Type: text/html, Size: 1505 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-05 15:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-05  4:49 Babel Clojure example problems Lawrence Bottorff
2014-06-05  9:53 ` Thorsten Jolitz
     [not found]   ` <CAFAhFSUe3ih1ViUfQPO06CMLe1c+u5JDczHHGh-x4eXGX3jNQA@mail.gmail.com>
     [not found]     ` <8761kf1m6q.fsf@gmail.com>
2014-06-05 15:17       ` Lawrence Bottorff
2014-06-05 15:38         ` Thorsten Jolitz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).