Commit b2e69c0d authored by Rufflewind's avatar Rufflewind
Browse files

Refer to `makeAbsolute` instead of `canonicalizePath` in docs

parent d039d5ae
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment