Re: ob-haskell and changing executables?

2024-03-12 Thread Ihor Radchenko
Bruno Barbier 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

Re: ob-haskell and changing executables?

2024-03-12 Thread Bruno Barbier
Hi Ihor, Ihor Radchenko writes: > Bruno Barbier writes: > >>> If you've gotten this far you probably know more >>> about the Haskell Babel situation than you ever wanted to, but maybe you >>> can sniff out where this hardwire is happening. >> >> It's not hard coded (there is quite a lot of

Re: ob-haskell and changing executables?

2024-03-12 Thread Ihor Radchenko
Bruno Barbier writes: >> If you've gotten this far you probably know more >> about the Haskell Babel situation than you ever wanted to, but maybe you >> can sniff out where this hardwire is happening. > > It's not hard coded (there is quite a lot of code just to guess the > right interpreter).

Re: ob-haskell and changing executables?

2024-03-12 Thread Ihor Radchenko
Laurence von Bottorff writes: > I'm on Debian 12 and I just started using Haskell's ghcup tools, leaving > the stack tools behind, as advised these days. ghcup puts executables for > Haskell such as ghc, ghci (REPL), cabal, etc. in its ~/.ghcup/bin > directory. Next, to stop using the stack

Re: ob-haskell and changing executables?

2024-03-09 Thread Bruno Barbier
Hi Laurence, Laurence von Bottorff writes: > I'm on Debian 12 and I just started using Haskell's ghcup tools, leaving > the stack tools behind, as advised these days. ghcup puts executables for > Haskell such as ghc, ghci (REPL), cabal, etc. in its ~/.ghcup/bin > directory. Next, to stop

ob-haskell and changing executables?

2024-03-08 Thread Laurence von Bottorff
I'm on Debian 12 and I just started using Haskell's ghcup tools, leaving the stack tools behind, as advised these days. ghcup puts executables for Haskell such as ghc, ghci (REPL), cabal, etc. in its ~/.ghcup/bin directory. Next, to stop using the stack tools that have executables in /usr/bin/ you