type FilePath = StringType for strings representing file paths.
normalize :: FilePath -> FilePathNormalize a string path, taking care of .. and ., duplicated slashes,
etc. If the path contains a trailing slash it is preserved. On Windows
backslashes are used.
concat :: [FilePath] -> FilePathConcatenates multiple path segments together and normalizes the resulting path.
resolve :: [FilePath] -> FilePath -> FilePathResolves to to an absolute path ([from...], to).
relative :: FilePath -> FilePath -> FilePathSolve the relative path from from to to.
dirname :: FilePath -> FilePathReturn the directory name of a path.
basename :: FilePath -> FilePathReturn the last portion of a path.
basenameWithoutExt :: FilePath -> FilePath -> FilePathReturn the last portion of a path, also dropping a specific file extension if it matches the end of the name.
extname :: FilePath -> FilePathReturn the extension of the path, from the last . to end of string in the
last portion of the path. If there is no . in the last portion of the
path or the first character of it is ., then it returns an empty string.
sep :: StringThe platform-specific file separator. \\ or /.
delimiter :: StringThe platform-specific path delimiter, ; or :.