1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00

Ignore pretty-simple before loading it to avoid multiple loaded copies.

This commit is contained in:
Rob Rix 2019-11-01 09:58:14 -04:00
parent 055c8424ee
commit d030f028da
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -1,7 +1,7 @@
-- Consider copying this to your ~/.ghc/ghci.conf file:
-- Pretty-printing
:set -package pretty-simple
:set -ignore-package pretty-simple -package pretty-simple
:def! pretty \ _ -> pure ":set -interactive-print Text.Pretty.Simple.pPrint"
:def! no-pretty \ _ -> pure ":set -interactive-print System.IO.print"
:def! r \_ -> pure ":reload\n:pretty"