mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
🔥 source because it’s dangerous now.
This commit is contained in:
parent
5e0a1c9101
commit
b77d847a19
4
.ghci
4
.ghci
@ -1,10 +1,6 @@
|
|||||||
-- Load the pretty-show & hscolour packages for use with :pretty.
|
-- Load the pretty-show & hscolour packages for use with :pretty.
|
||||||
:set -package pretty-show -package hscolour
|
:set -package pretty-show -package hscolour
|
||||||
|
|
||||||
-- :source is convenient for (re)loading commands from a file (for example, this one).
|
|
||||||
:undef source
|
|
||||||
:def source Prelude.readFile
|
|
||||||
|
|
||||||
-- See docs/💡ProTip!.md
|
-- See docs/💡ProTip!.md
|
||||||
:undef pretty
|
: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"
|
: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"
|
||||||
|
Loading…
Reference in New Issue
Block a user