[commit: packages/filepath] master: #46, fix a documentation mistake (598e03a)
git at git.haskell.org
git at git.haskell.org
Mon Dec 28 20:39:16 UTC 2015
Repository : ssh://git@git.haskell.org/filepath
On branch : master
Link : http://git.haskell.org/packages/filepath.git/commitdiff/598e03aeebc6503cad455cecf7615b047f0cd138
>---------------------------------------------------------------
commit 598e03aeebc6503cad455cecf7615b047f0cd138
Author: Neil Mitchell <ndmitchell at gmail.com>
Date: Wed May 20 15:03:42 2015 +0100
#46, fix a documentation mistake
>---------------------------------------------------------------
598e03aeebc6503cad455cecf7615b047f0cd138
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 1337fb3..34cc156 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -254,7 +254,7 @@ takeExtension = snd . splitExtension
(-<.>) :: FilePath -> String -> FilePath
(-<.>) = replaceExtension
--- | Set the extension of a file, overwriting one if already present, equivalent to '<.>'.
+-- | Set the extension of a file, overwriting one if already present, equivalent to '-<.>'.
--
-- > replaceExtension "/directory/path.txt" "ext" == "/directory/path.ext"
-- > replaceExtension "/directory/path.txt" ".ext" == "/directory/path.ext"
More information about the ghc-commits
mailing list