emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Add tests for ob-haskell (GHCi)


From: ParetoOptimalDev
Subject: Re: [PATCH] Add tests for ob-haskell (GHCi)
Date: Thu, 23 Mar 2023 16:30:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

I forgot to mention you can also set the prompt as well to something
simple like `:set prompt "> "`.

> Ihor Radchenko <yantar92@posteo.net> writes:
>
>> Part of the problem is that haskell-mode appears to use non-standard
>> prompt:
>>
>> comint-prompt-regexp: ^[[:alnum:].*_() |λ]*> \|^λ?>
>> Output: ghci| ghci| ghci| ghci| ghci| 6
>>
>> Note "|".
>
> You can fix this by sending `set :prompt-cont ""`. Here is a
> demonstration:
>
> GHCi, version 9.0.2: https://www.haskell.org/ghc/  :? for help
> ghci> ghci> :set prompt-cont ""
> ghci> :{
> let { x = 2
>     ; y = 3
>     }
> in x*y
> :}
> 6
> ghci> 



reply via email to

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