[commit: packages/filepath] master: Revert "Make splitFileName quickcheck test Posix only" (#14) (0ea8ed5)

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


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

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

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

commit 0ea8ed51e9e30f4324e58f02eff18db092ad08f1
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Mon Oct 27 14:32:26 2014 +0100

    Revert "Make splitFileName quickcheck test Posix only" (#14)
    
    This reverts commit 0dd40adf8d4a8a3f409f3a877dba2ae7e98a5c5b.


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

0ea8ed51e9e30f4324e58f02eff18db092ad08f1
 System/FilePath/Internal.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/System/FilePath/Internal.hs b/System/FilePath/Internal.hs
index c3f2721..323f8e3 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -426,7 +426,7 @@ isDrive x = not (null x) && null (dropDrive x)
 -- | Split a filename into directory and file. 'combine' is the inverse.
 --
 -- > Valid x => uncurry (</>) (splitFileName x) == x || fst (splitFileName x) == "./"
--- > Posix:   Valid x => isValid (fst (splitFileName x))
+-- > Valid x => isValid (fst (splitFileName x))
 -- > splitFileName "file/bob.txt" == ("file/", "bob.txt")
 -- > splitFileName "file/" == ("file/", "")
 -- > splitFileName "bob" == ("./", "bob")



More information about the ghc-commits mailing list