emacs-orgmode
[Top][All Lists]
Advanced

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

About babel and header arguments


From: Henrik Frisk
Subject: About babel and header arguments
Date: Sun, 10 Apr 2022 11:53:51 +0200

Hi,

I'm not a skilled (scheme) programmer so maybe there is something obvious I'm missing here. In the first example the header argument y is interpreted as I would expect it, but in the second it isn't:

#+begin_src scheme :var y=10 :results value
  (+ 10 y)
#+end_src

#+RESULTS:
: 10

but not this:

#+begin_src scheme :var y=10 :results output
  ((lambda (x) (display x)) '(12 y))
#+end_src

#+RESULTS:
: (12 y)

Thanks in advance.

reply via email to

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