Enabled multiline in ghci and customized multiline prompt

This commit is contained in:
hellerve
2015-03-30 12:47:54 +02:00
parent e162a10aa2
commit 72495de4f9

2
ghci
View File

@@ -1,5 +1,7 @@
:set prompt "λ > "
:set prompt2 "λ² > "
{- :set -Wall -}
:set +m
let ghciEscapeShellArg arg = "'" ++ concatMap (\c -> if c == '\'' then "'\"'\"'" else [c]) arg ++ "'"