emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* About babel and header arguments
@ 2022-04-10  9:53 Henrik Frisk
  2022-04-10 10:11 ` tomas
  2022-04-10 15:00 ` Neil Jerram
  0 siblings, 2 replies; 8+ messages in thread
From: Henrik Frisk @ 2022-04-10  9:53 UTC (permalink / raw)
  To: org-mode-email

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

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.

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

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

end of thread, other threads:[~2022-04-11 11:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-10  9:53 About babel and header arguments Henrik Frisk
2022-04-10 10:11 ` tomas
2022-04-10 10:39   ` Henrik Frisk
2022-04-10 11:18   ` Byung-Hee HWANG
2022-04-10 15:00 ` Neil Jerram
2022-04-10 15:37   ` tomas
2022-04-10 15:46     ` Neil Jerram
2022-04-11 11:36   ` Henrik Frisk

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).