Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. package pathtype

    Type-safe replacement for System.FilePath etc 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:

    type Path.AbsFile = Path Abs File
    type Path.RelFile = Path Rel File
    type Path.AbsDir  = Path Abs Dir
    type Path.RelDir  = Path Rel Dir
    
    type Path.Abs  fd = Path Abs fd
    type Path.Rel  fd = Path Rel fd
    type Path.File ar = Path ar File
    type Path.Dir  ar = Path ar Dir
    
    The type of the combine (aka </>) function gives the idea:
    (</>) :: Path.Dir ar -> Path.Rel fd -> Path ar fd
    
    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.

  2. package pathwalk

    Path walking utilities for Haskell programs System.Directory.PathWalk is an implementation of Python's excellent os.walk function. Given a root directory, it recursively scans all subdirectories, calling a callback with directories and files it finds. Importantly, it calls the callback as soon as it finishes scanning each directory to allow the caller to begin processing results immediately. Maximum memory usage is O(N+M) where N is the depth of the tree and M is the maximum number of entries in a particular directory.

    import System.Directory.PathWalk
    
    pathWalk "some/directory" $ \root dirs files -> do
    forM_ files $ \file ->
    when (".hs" `isSuffixOf` file) $ do
    putStrLn $ joinPath [root, file]
    

  3. package patrol

    Sentry SDK Patrol is a Sentry SDK.

  4. package pava

    Greatest convex majorants and least concave minorants Please see the README on GitHub at https://github.com/dschrempf/pava#readme

  5. package pcre-utils

    Perl-like substitute and split for PCRE regexps. This package introduces split and replace like functions using PCRE regexps.

  6. package pcre2

    Regular expressions via the PCRE2 C library (included) Please see the README on GitHub at https://github.com/sjshuck/hs-pcre2

  7. package pdf-toolbox-document

    A collection of tools for processing PDF files. Mid level tools for processing PDF files. Level of abstraction: document, catalog, page

  8. package pedersen-commitment

    An implementation of Pedersen commitment schemes An implementation of Pedersen commitment schemes for multiparty protocols.

  9. package percent-format

    simple printf-style string formatting The Text.PercentFormat library provides printf-style string formatting. It provides a % operator (as in Ruby or Python) and uses the old C-printf-style format you know and love.

  10. package perf

    Performance tools A set of tools to measure performance of Haskell programs. See the Perf module and readme for an example and full API documentation.

Page 226 of many | Previous | Next