On 19 January 2025 2:57:20 pm GMT+05:30, Ihor Radchenko <yanta...@posteo.net> 
wrote:
>Pranshu <pran...@bauherren.ovh> writes:
>
>>>AFAIU, it is not strictly required, unless you need session support.
>>>If you do not use sessions, things should work without haskell-mode.
>>
>> When I tried to run code normally, without session, it still required 
>> haskell mode 
>
>May you show a reproducer?

Just uninstall haskell mode, restart emacs, execute babel haskell code block 
without session and see what happens.

The let block in org-babel-execute:haskell function actually defines the 
variable session two times,  and in the second definition it calls  
org-babel-haskell-initiate-session, which calls run-haskell, a function defined 
in haskell mode

Reply via email to