on master help sign in
Add :doc targets to the .ghci
0769064Neil Mitchell
@@ -3,3 +3,15 @@
3:load Main
3:load Main
4
4
5:def test \xs -> return $ ":main " ++ xs
5: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+:}