1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00
semantic/.ghci
2017-10-13 10:21:39 -04:00

18 lines
573 B
Plaintext

:undef source
:def source Prelude.readFile
:undef pretty
:def pretty \_ -> return "import Text.Show.Pretty (pPrint, ppShow)\nimport Language.Haskell.HsColour\nimport Language.Haskell.HsColour.Colourise\nlet colour = putStrLn . hscolour TTY defaultColourPrefs Prelude.False Prelude.False \"\" Prelude.False . ppShow\n:set -interactive-print colour\n"
:undef no-pretty
:def no-pretty \_ -> return ":set -interactive-print System.IO.print"
:undef re
:def re \_ -> return ":reload\n:pretty\n"
:seti -fbreak-on-error
:set -Wwarn
:set prompt "\ESC[1;36m\STXλ: \ESC[m\STX"