diff options
author | Ben Sima <ben@bsima.me> | 2020-04-21 17:10:54 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-04-21 17:10:54 -0700 |
commit | 9947e692549f2faa0139f701006c2921012ac981 (patch) | |
tree | 839ed2a0dd0f6fe079231d877b233553098a634d | |
parent | ea86ac82021efda2e324b7790780ec87ce303ffa (diff) |
Auto-haddock in ghci
-rw-r--r-- | .ghci | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 ++ "\"" |