[commit: packages/filepath] master: Fix documentation markup in </> (802046a)

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


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

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

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

commit 802046adbf26716698621c472e65267605a28e88
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Tue Dec 22 14:34:08 2015 +0000

    Fix documentation markup in </>


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

802046adbf26716698621c472e65267605a28e88
 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 00cdfcd..3b7fa48 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -683,7 +683,7 @@ combineAlways a b | null a = b
 --   On Windows, if a filepath starts with a single slash, it is relative to the
 --   root of the current drive. In [1], this is (confusingly) referred to as an
 --   absolute path.
---   The current behavior of @</>@ is to never combine these forms.
+--   The current behavior of '</>' is to never combine these forms.
 --
 -- > Windows: "home" </> "/bob" == "/bob"
 -- > Windows: "home" </> "\\bob" == "\\bob"
@@ -692,7 +692,7 @@ combineAlways a b | null a = b
 --   On Windows, from [1]: "If a file name begins with only a disk designator
 --   but not the backslash after the colon, it is interpreted as a relative path
 --   to the current directory on the drive with the specified letter."
---   The current behavior of @</>@ is to never combine these forms.
+--   The current behavior of '</>' is to never combine these forms.
 --
 -- > Windows: "D:\\foo" </> "C:bar" == "C:bar"
 -- > Windows: "C:\\foo" </> "C:bar" == "C:bar"



More information about the ghc-commits mailing list