Add note in docs about dropTrailingPathSeparator

This commit is contained in:
Chris Done 2015-06-18 08:58:01 +02:00
parent 94a5252ff5
commit 44d9e02cc2

View File

@ -197,6 +197,10 @@ mkRelFile s =
-- Conversion
-- | Convert to a 'FilePath' type.
--
-- All directories have a trailing slash, so if you want no trailing
-- slash, you can use 'System.FilePath.dropTrailingPathSeparator' from
-- the filepath package.
toFilePath :: Path b t -> FilePath
toFilePath (Path l) = l