Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.1% on hackage.haskell.org
Top 3.9% dependent packages on hackage.haskell.org
Top 7.3% dependent repos on hackage.haskell.org

hackage.haskell.org : pathtype

This package provides type-safe access to filepath manipulations. System.Path is designed to be used instead of System.FilePath. (It is intended to provide versions of functions from that module which have equivalent functionality but are more typesafe). System.Path.Directory is a companion module providing a type-safe alternative to System.Directory. The heart of this package is the Path ar fd abstract type which represents file and directory paths. The idea is that there are two type parameters - the first should be Abs or Rel, and the second File or Dir. A number of type synonyms are provided for common types: The type of the combine (aka </>) function gives the idea: Together this enables us to give more meaningful types to a lot of the functions, and (hopefully) catch a bunch more errors at compile time. For more details see the README.md file. Related packages: filepath: The API of Neil Mitchell's System.FilePath module (and properties satisfied) heavily influenced our package. path: Provides a wrapper type around FilePath and maps to functions from filepath package. This warrants consistency with filepath functions. Requires Template Haskell. data-filepath: Requires Typeable and Template Haskell. hpath: ByteString-based path type with type parameter for absolute and relative paths.

Registry - Homepage - JSON
purl: pkg:hackage/pathtype
Keywords: bsd3, library, system
License: BSD-3-Clause
Latest release: over 6 years ago
First release: over 14 years ago
Dependent packages: 7
Dependent repositories: 54
Downloads: 14,472 total
Last synced: 25 days ago

    Loading...
    Readme
    Loading...