Closed
Description
The recent change #1806 appears to have introduced an bug with inferior-haskell-mode output. The GHCi output can either be modified or missing entirely. Below are example of what an M-x run-haskell
created buffer looks like without and with the change:
ghci> ghci> :{
f x
| x == 0 = 1
| x < 0 = 1
| otherwise = 2 * f (x - 1)
:}
ghci| ghci| ghci| ghci| ghci| ghci> f 1
2
ghci> f 1
2
ghci> f 1
2
ghci> f 1
2
ghci>
Loaded GHCi configuration from /nix/stghci> :{
f x
| x == 0 = 1
| x < 0 = 1
| otherwise = 2 * f (x - 1)
:}
ghci> f 1
ghci> f 1
2ghci> f 1
2
ghci> f 1
2
ghci> f 1
2
ghci>
This also impacts the use of Org-babel source blocks, which for me, may of may not output some subset of the result with repeated executions of the same pure expression.
While not wholly solving the original issue :set prompt-cont ""
does get rid of most of the additional prompts in the original issue.
Metadata
Metadata
Assignees
Labels
No labels