[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ob-clojure: results quoted nil
From: |
Daniel Kraus |
Subject: |
Re: ob-clojure: results quoted nil |
Date: |
Wed, 17 May 2023 11:26:12 +0200 |
Hi!
rab@devsphoto.com writes:
> The quoted NIL is not showing on the Result block.
>
> Org mode version 9.6.1 (9.6.1-??-fe92a3ced @
> /Users/rafiks/.emacs.d/.local/straight/build-28.2/org/)
>
> #+begin_src clojure :results value
> (nil? 1)
> (nil? nil)
> (if "bears eat beets"
> "bears beets Battlestar Galactica")
> (if nil
> "This won't be the result because nil is falsey"
> "nil is falsey")
> #+end_src
>
> #+RESULTS:
> | false |
> | true |
> | "bears beets Battlestar Galactica" |
> | " is falsey" |
The results you get from a ob-clojure block got re-worked recently.
That `:results value` returned ALL values and not only the last one
was actually a bug.
Can you try again with the latest org (/ob-clojure) version?
You should now only get:
#+RESULTS:
: nil is falsey
Thanks,
Daniel