emacs-orgmode
[Top][All Lists]
Advanced

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

Re: ob-haskell support for haskell-ts-mode?


From: Pranshu
Subject: Re: ob-haskell support for haskell-ts-mode?
Date: Sun, 19 Jan 2025 15:20:58 +0530
User-agent: K-9 Mail for Android

On 19 January 2025 2:57:20 pm GMT+05:30, Ihor Radchenko <yantar92@posteo.net> 
wrote:
>Pranshu <pranshu@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

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