Skip to content
Snippets Groups Projects
Commit 4206435b authored by Neil Mitchell's avatar Neil Mitchell
Browse files

Merge pull request #41 from Rufflewind/master

Refer to `makeAbsolute` instead of `canonicalizePath` in docs
parents d039d5ae b2e69c0d
No related branches found
No related tags found
No related merge requests found
......@@ -729,8 +729,8 @@ equalFilePath a b = f a == f b
-- | Contract a filename, based on a relative path.
--
-- There is no corresponding @makeAbsolute@ function, instead use
-- @System.Directory.canonicalizePath@ which has the same effect.
-- The corresponding @makeAbsolute@ function can be found in
-- @System.Directory@.
--
-- > makeRelative "/directory" "/directory/file.ext" == "file.ext"
-- > Valid x => makeRelative (takeDirectory x) x `equalFilePath` takeFileName x
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment