[commit: packages/filepath] master: #48, tweak the docs following suggestion from @rwbarton (ff4dba5)

git at git.haskell.org git at git.haskell.org
Mon Dec 28 20:40:14 UTC 2015


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

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

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

commit ff4dba521bee9fb71d5f92c26c27740f8a5b6d7e
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Tue Dec 22 12:43:04 2015 +0000

    #48, tweak the docs following suggestion from @rwbarton


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

ff4dba521bee9fb71d5f92c26c27740f8a5b6d7e
 System/FilePath/Internal.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/System/FilePath/Internal.hs b/System/FilePath/Internal.hs
index 8f0acdd..27f2af8 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -620,8 +620,8 @@ combineAlways a b | null a = b
 
 -- | Combine two paths with a path separator.
 --   If the second path starts with a path separator or a drive letter, then it returns the second.
---   The intention is that @setCurrentDirectory dir; readFile file@ will access the same file as
---   @readFile (dir '</>' file)@.
+--   The intention is that @readFile (dir '</>' file)@ will access the same file as
+--   @setCurrentDirectory dir; readFile file at .
 --
 -- > Posix:   "/directory" </> "file.ext" == "/directory/file.ext"
 -- > Windows: "/directory" </> "file.ext" == "/directory\\file.ext"



More information about the ghc-commits mailing list