[commit: packages/directory] master: Minor doc update for makeAbsolute (2c3789b)

git at git.haskell.org git at git.haskell.org
Fri Dec 18 09:51:03 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2c3789b5db99a96143b005f4c6e9299765715a76/directory

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

commit 2c3789b5db99a96143b005f4c6e9299765715a76
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Sun May 31 03:25:36 2015 -0400

    Minor doc update for makeAbsolute


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

2c3789b5db99a96143b005f4c6e9299765715a76
 System/Directory.hs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/System/Directory.hs b/System/Directory.hs
index 99b36a4..4707f38 100644
--- a/System/Directory.hs
+++ b/System/Directory.hs
@@ -830,9 +830,10 @@ foreign import ccall unsafe "realpath"
 #endif
 
 -- | Make a path absolute by prepending the current directory (if it isn't
--- already absolute) and applying @'normalise'@ to the result.
+-- already absolute) and applying 'normalise' to the result.
 --
--- The operation may fail with the same exceptions as @'getCurrentDirectory'@.
+-- If the path is already absolute, the operation never fails.  Otherwise, the
+-- operation may fail with the same exceptions as 'getCurrentDirectory'.
 --
 -- /Since: 1.2.2.0/
 makeAbsolute :: FilePath -> IO FilePath



More information about the ghc-commits mailing list