#49, document the specific case requested in the ticket
authorNeil Mitchell <ndmitchell@gmail.com>
Tue, 22 Dec 2015 08:18:12 +0000 (08:18 +0000)
committerNeil Mitchell <ndmitchell@gmail.com>
Tue, 22 Dec 2015 08:18:12 +0000 (08:18 +0000)
System/FilePath/Internal.hs

index eb27e03..fa0b521 100644 (file)
@@ -623,6 +623,7 @@ combineAlways a b | null a = b
 --
 -- > Posix:   "/directory" </> "file.ext" == "/directory/file.ext"
 -- > Windows: "/directory" </> "file.ext" == "/directory\\file.ext"
+-- >          "directory" </> "/file.ext" == "/file.ext"
 -- > Valid x => combine (takeDirectory x) (takeFileName x) `equalFilePath` x
 --
 --   Combined: