Closed
Description
GHCi has multiline input mode which can enabled by :set +m
or :{
and :}
.
For example:
ghci> :set +m
ghci> let a = 12
ghci| b = 42
ghci|
ghci>
:{
version:
ghci> :{
ghci> let a = 12
ghci| b = 42
ghci| :}
ghci>
Prompt for multiline input (here, ghci|
) can be set by :set prompt2 "ghci| "
, but we don't have any configuration item to set prompt2
in haskell-mode
.
This results in the following not-so-useful-for-indenting looking:
λ> let a = 12
ghci| b = 42
ghci|
λ> :{
λ> let a = 12
ghci| b = 42
ghci| :}
λ>
So we need the way to :set prompt2
.
Metadata
Metadata
Assignees
Labels
No labels