name: pathlib version: 0.1 synopsis: A library for safe (file)path manipulation description: Pathlib provides an API for parsing and manipulating paths, represented as bytestrings. The path types come with witnesses (similar to the pathtype package) for improved type safety, although they are optional and disabled by the default interface ("Data.Path") since they can be somewhat inconvenient. The safe interface is exported by "Data.Path.Witnessed". . A number of path combinators is provided (, <.>, +/+), as well as a few selectors (especially well suited for use as view patterns or pattern guards). All paths are kept normalised and this invariant is maintained throughout the API, providing both nicer path strings and easier equality checking. -- The license under which the package is released. -- copyright: license: BSD3 license-file: LICENSE -- The package author(s). author: Petr Rockai maintainer: me@mornfall.net category: System build-type: Simple -- Constraint on the version of Cabal needed to build this package. cabal-version: >=1.6 flag hpc default: False source-repository head type: darcs location: http://repos.mornfall.net/pathlib Library ghc-prof-options: -prof -auto-all -O2 if flag(hpc) ghc-prof-options: -fhpc exposed-modules: Data.Path, Data.Path.Witnessed other-modules: Data.Path.Implementation Data.Path.Platform build-depends: base < 5, bytestring, directory flag test default: False description: Build test binaries Executable pathlib-test if !flag(test) buildable: False ghc-prof-options: -prof -auto-all -O2 if flag(hpc) ghc-prof-options: -fhpc main-is: test.hs build-depends: test-framework, test-framework-quickcheck2, QuickCheck