https://github.com/hasufell/hpath
Typed filepath in haskell
https://github.com/hasufell/hpath
dirname filepath filepath-manipulation files haskell posix
Last synced: 10 months ago
JSON representation
Typed filepath in haskell
- Host: GitHub
- URL: https://github.com/hasufell/hpath
- Owner: hasufell
- License: other
- Created: 2016-03-06T21:00:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-07-08T20:27:52.000Z (over 3 years ago)
- Last Synced: 2025-04-12T21:07:56.402Z (10 months ago)
- Topics: dirname, filepath, filepath-manipulation, files, haskell, posix
- Language: Haskell
- Homepage:
- Size: 1.47 MB
- Stars: 18
- Watchers: 3
- Forks: 6
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HPath libraries
[](https://gitter.im/hasufell/hpath?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [](http://travis-ci.org/hasufell/hpath)
Set of libraries to deal with filepaths and files.
## Motivation
* filepaths should be type-safe (absolute, relative, ...)
* filepaths should be ByteString under the hood, see [Abstract FilePath Proposal (AFPP)](https://gitlab.haskell.org/ghc/ghc/wikis/proposal/abstract-file-path)
* file high-level operations should be platform-specific, exception-stable, safe and as atomic as possible
## Projects
* [](https://hackage.haskell.org/package/hpath) [hpath](./hpath): Support for well-typed paths
* [](https://hackage.haskell.org/package/hpath-filepath) [hpath-filepath](./hpath-filepath): ByteString based filepath manipulation (can be used without hpath)
* [](https://hackage.haskell.org/package/hpath-directory) [hpath-directory](./hpath-directory): High-level IO operations for files/directories on raw ByteString filepaths (use hpath-io for the type-safe path version)
* [](https://hackage.haskell.org/package/hpath-io) [hpath-io](./hpath-io): High-level IO operations for files/directories utilizing type-safe Path
* [](https://hackage.haskell.org/package/hpath-posix) [hpath-posix](./hpath-posix): Some low-level POSIX glue code that is not in 'unix'