From 51f27f26931c97ab4965806ef08842be4465e83c Mon Sep 17 00:00:00 2001 From: ross Date: Tue, 11 Jan 2005 12:12:36 +0000 Subject: [PATCH] [project @ 2005-01-11 12:12:36 by ross] haddock fix --- System/FilePath.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/System/FilePath.hs b/System/FilePath.hs index e82ad25..4ae4a88 100644 --- a/System/FilePath.hs +++ b/System/FilePath.hs @@ -229,9 +229,10 @@ isAbsolutePath (c:_) | isPathSeparator c = True #endif isAbsolutePath _ = False --- | If the function is applied to an absolute path then it returns a local path droping --- the absolute prefix in the path. Under Windows the prefix is \"\\\", \"c:\" or \"c:\\\". Under --- Unix the prefix is always \"/\". +-- | If the function is applied to an absolute path then it returns a +-- local path obtained by dropping the absolute prefix from the path. +-- Under Windows the prefix is @\"\\\"@, @\"c:\"@ or @\"c:\\\"@. +-- Under Unix the prefix is always @\"\/\"@. dropAbsolutePrefix :: FilePath -> FilePath dropAbsolutePrefix (c:cs) | isPathSeparator c = cs #ifdef mingw32_TARGET_OS -- 1.7.10.4