[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ob-haskell and changing executables?
From: |
Ihor Radchenko |
Subject: |
Re: ob-haskell and changing executables? |
Date: |
Tue, 12 Mar 2024 14:51:49 +0000 |
Bruno Barbier <brubar.cs@gmail.com> writes:
>> Only for sessions. For src blocks with :session none, we directly call
>> `org-babel-haskell-compiler'.
>
> Good point. I didn't check that execution path (probably because I
> assumed the OP was speaking only about GHCi).
>
> But, from what I see (function `org-babel-execute:haskell'), for
> Haskell, we switch to the compiler only if explicitly requested
> (':compile' option is "yes"). If not, we use the interpreter for both
> with and without sessions.
>
> Am I missing something ?
Looks like you are right.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>