#16, add a specific example of the Windows weirdity
authorNeil Mitchell <ndmitchell@gmail.com>
Sun, 26 Oct 2014 21:11:57 +0000 (21:11 +0000)
committerNeil Mitchell <ndmitchell@gmail.com>
Sun, 26 Oct 2014 21:11:57 +0000 (21:11 +0000)
System/FilePath/Internal.hs

index fa7d96a..9c9606c 100644 (file)
@@ -683,6 +683,7 @@ joinPath = foldr combine ""
 -- >          not (equalFilePath "foo" "/foo")
 -- > Posix:   not (equalFilePath "foo" "FOO")
 -- > Windows: equalFilePath "foo" "FOO"
+-- > Windows: not (equalFilePath "C:" "C:/")
 equalFilePath :: FilePath -> FilePath -> Bool
 equalFilePath a b = f a == f b
     where