| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Path.Internal
Description
Internal types and functions.
Documentation
Path of some base and type.
Internally is a string. The string can be of two formats only:
- File format:
file.txt,foo/bar.txt,/foo/bar.txt - Directory format:
foo/,/foo/bar/
All directories end in a trailing separator. There are no duplicate
path separators //, no .., no ./, no ~/, etc.
Instances
| Eq (Path b t) Source # | String equality. The following property holds: show x == show y ≡ x == y |
| Ord (Path b t) Source # | String ordering. The following property holds: show x `compare` show y ≡ x `compare` y |
| Show (Path b t) Source # | Same as The following property holds: x == y ≡ show x == show y |
| ToJSON (Path b t) Source # | |
| FromJSON (Path Rel Dir) # | |
| FromJSON (Path Rel File) # | |
| FromJSON (Path Abs Dir) # | |
| FromJSON (Path Abs File) # | |
| NFData (Path b t) Source # | |