From 9947e692549f2faa0139f701006c2921012ac981 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 21 Apr 2020 17:10:54 -0700 Subject: Auto-haddock in ghci --- .ghci | 1 + 1 file changed, 1 insertion(+) (limited to '.ghci') diff --git a/.ghci b/.ghci index 787d6be..18c5aa9 100644 --- a/.ghci +++ b/.ghci @@ -2,6 +2,7 @@ :set prompt "λ " :set prompt-cont "| " :set -Wall +:set -haddock -- ':iq Module M' -> 'import qualified Module as M' :def iq (\arg -> let [x, y] = Prelude.words arg in return $ "import qualified " ++ x ++ " as " ++ y) :def hoogle \s -> return $ ":! hoogle search --count=15 \"" ++ s ++ "\"" -- cgit v1.2.3