Enabled multiline in ghci and customized multiline prompt
This commit is contained in:
2
ghci
2
ghci
@@ -1,5 +1,7 @@
|
|||||||
:set prompt "λ > "
|
:set prompt "λ > "
|
||||||
|
:set prompt2 "λ² > "
|
||||||
{- :set -Wall -}
|
{- :set -Wall -}
|
||||||
|
:set +m
|
||||||
|
|
||||||
let ghciEscapeShellArg arg = "'" ++ concatMap (\c -> if c == '\'' then "'\"'\"'" else [c]) arg ++ "'"
|
let ghciEscapeShellArg arg = "'" ++ concatMap (\c -> if c == '\'' then "'\"'\"'" else [c]) arg ++ "'"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user