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:20:36 -04:00

9 lines
439 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"