emacs-orgmode
[Top][All Lists]
Advanced

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

Re: About babel and header arguments


From: Neil Jerram
Subject: Re: About babel and header arguments
Date: Sun, 10 Apr 2022 16:46:39 +0100

On Sun, 10 Apr 2022, 16:39 ,<tomas@tuxteam.de> wrote:
On Sun, Apr 10, 2022 at 04:00:31PM +0100, Neil Jerram wrote:
> Hi Henrik,
>
> On Sun, 10 Apr 2022 at 10:56, Henrik Frisk <frisk.h@gmail.com> wrote:
> >
> > 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
>
> I'm surprised by this one - shouldn't we expect the result 20 ?

Wait a second... where is this `+' coming from?

*Oh* you mean the first one, I see now. I just skimmed over it and didn't
notice. Unfortunately, "my" geiser seems broken at the moment and I can't
double-check it. But you are right, it should be 20.

Thanks tomas!


reply via email to

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