[commit: packages/filepath] master: Simplify the :docs_ target (fdde77a)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:36:23 UTC 2015


Repository : ssh://git@git.haskell.org/filepath

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/fdde77aacc0a458794c6791c1e30eb126f090157

>---------------------------------------------------------------

commit fdde77aacc0a458794c6791c1e30eb126f090157
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Wed Oct 29 08:22:18 2014 +0000

    Simplify the :docs_ target


>---------------------------------------------------------------

fdde77aacc0a458794c6791c1e30eb126f090157
 .ghci | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.ghci b/.ghci
index 9f4d61b..60189f7 100644
--- a/.ghci
+++ b/.ghci
@@ -4,7 +4,7 @@
 import qualified System.FilePath.Windows as W
 import qualified System.FilePath.Posix as P
 
-:def docs_ const $ return $ unlines [":!cabal haddock"]
+:def docs_ const $ return ":!cabal haddock"
 :def docs const $ return $ unlines [":docs_",":!start dist\\doc\\html\\filepath\\System-FilePath.html"]
 
 :def gen const $ return "Generate.main"



More information about the ghc-commits mailing list