[commit: packages/filepath] master: Revert the clever import trick - it confuses Haddock (d03fd87)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:33:39 UTC 2015


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

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

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

commit d03fd877bdd0b05c9b6e943711a4fe60406f937f
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Sun Oct 19 14:10:28 2014 +0100

    Revert the clever import trick - it confuses Haddock


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

d03fd877bdd0b05c9b6e943711a4fe60406f937f
 System/FilePath.hs | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/System/FilePath.hs b/System/FilePath.hs
index 73947db..331ae81 100644
--- a/System/FilePath.hs
+++ b/System/FilePath.hs
@@ -19,10 +19,11 @@ same interface. See either for examples and a list of the available
 functions.
 -}
 
-module System.FilePath(module X) where
 
 #if defined(mingw32_HOST_OS) || defined(__MINGW32__)
-import System.FilePath.Windows as X
+module System.FilePath(module System.FilePath.Windows) where
+import System.FilePath.Windows
 #else
-import System.FilePath.Posix as X
+module System.FilePath(module System.FilePath.Posix) where
+import System.FilePath.Posix
 #endif



More information about the ghc-commits mailing list