Add :doc targets to the .ghci
commit07690643596f448def2aaa598665137b19381eb0
authorNeil Mitchell <ndmitchell@gmail.com>
dateWed 30 Nov 2016, 19:08 (10 years ago)
parent423d347
.ghci+12
@@ -3,3 +3,15 @@
33:load Main
44
55:def test \xs -> return $ ":main " ++ xs
6+
7+:{
8+:def docs_ const $ return $ unlines
9+ [":!cabal configure"
10+ ,":!cabal haddock"]
11+:}
12+
13+:{
14+:def docs const $ return $ unlines
15+ [":docs_"
16+ ,":!start dist\\doc\\html\\hexml\\Text-XML-Hexml.html"]
17+:}