aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorCamil Staps2016-11-17 21:34:40 +0100
committerCamil Staps2016-11-30 19:11:45 +0100
commit0a6c2b45a8b83841d91c05f89448068cebee17c7 (patch)
treebb8696577590e7af60af53641998305e6be00de8 /haskell
parentOwn vim plugins using SSH (diff)
GHCi: increased history size; warnings; hoogle
Diffstat (limited to 'haskell')
-rw-r--r--haskell/ghci.symlink2
1 files changed, 2 insertions, 0 deletions
diff --git a/haskell/ghci.symlink b/haskell/ghci.symlink
index 675f6c9..9493fe9 100644
--- a/haskell/ghci.symlink
+++ b/haskell/ghci.symlink
@@ -1,5 +1,6 @@
:set -v0
:set -XNoMonomorphismRestriction
+:set -Wall -fno-warn-name-shadowing
import qualified IPPrint
import qualified Language.Haskell.HsColour as HsColour
@@ -13,3 +14,4 @@ let myPrint = putStrLn . HsColour.hscolour (HsColour.TTYg HsColour.XTerm256Compa
:set -interactive-print=myPrint
:set prompt "λ. "
+:def hoogle \str -> return $ ":! hoogle --count=15 \"" ++ str ++ "\""