Package Usage: hackage: filepath
This package provides functionality for manipulating FilePath values, and is shipped with GHC. It provides two variants for filepaths:
legacy filepaths: type FilePath = String
operating system abstracted filepaths (OsPath): internally unpinned ShortByteString (platform-dependent encoding)
It is recommended to use OsPath when possible, because it is more correct.
For each variant there are three main modules:
System.FilePath.Posix / System.OsPath.Posix manipulates POSIX/Linux style FilePath values (with / as the path separator).
System.FilePath.Windows / System.OsPath.Windows manipulates Windows style FilePath values (with either \ or / as the path separator, and deals with drives).
System.FilePath / System.OsPath for dealing with current platform-specific filepaths
For more powerful string manipulation of OsPath, you can use the os-string package (OsPath is a type synonym for OsString).
An introduction into the new API can be found in this
blog post.
Code examples for the new API can be found here.
31 versions
Latest release: over 7 years ago
637 dependent packages
65,397 downloads total
View more package details: https://packages.ecosystem.code.gouv.fr/registries/hackage.haskell.org/packages/filepath
Dependent Repos 4
frederic.jacquot1/OSE
Organisation des Services d'EnseignementLast synced: 11 months ago - Pushed: 11 months ago

bliss/libhkl
hkl library from F.Picca with Python wrappingLast synced: 7 months ago - Pushed: 11 months ago
Renater/pandoc Fork of jgm/pandoc
Universal markup converterSize: 33.7 MB - Last synced: about 4 hours ago - Pushed: over 6 years ago
