Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
:set prompt "λ> " | ||
-- Prompt | ||
:set prompt "\ESC[34;1mλ> \ESC[m" | ||
:set prompt2 "\ESC[34;1m | \ESC[m" | ||
|
||
-- Print the type after every statement | ||
:set +t | ||
:set +c | ||
|
||
-- Collect information after modules have been | ||
-- loaded. | ||
:set +c | ||
|
||
-- Hoogle | ||
:def hoogle \s -> return $ ":! hoogle --count=15 \"" ++ s ++ "\"" | ||
:def doc \x -> return $ ":!hoogle --info \"" ++ x ++ "\"" | ||
|
||
-- Use incremental compilation | ||
-- If you are missing information on a module, run `-fbyte-code` | ||
-- and :load the module again. | ||
:set -fobject-code | ||
|
||
-- Warn me about these things | ||
:set -Wall | ||
:set -fno-warn-missing-signatures | ||
:set -fno-warn-type-defaults | ||
:set -fno-warn-name-shadowing | ||
:set -fno-warn-unused-do-bind | ||
:set -fno-warn-unused-do-bind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters