Hoogle Search

Within LTS Haskell 24.5 (ghc-9.10.2)

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

  1. package genvalidity-hspec

    Standard spec's for GenValidity instances Note: There are companion packages for this library:

  2. package haskell-gi-base

    Foundation for libraries generated by haskell-gi Foundation for libraries generated by haskell-gi

  3. package http-media

    Processing HTTP Content-Type and Accept headers This library is intended to be a comprehensive solution to parsing and selecting quality-indexed values in HTTP headers. It is capable of parsing both media types and language parameters from the Accept and Content header families, and can be extended to match against other accept headers as well. Selecting the appropriate header value is achieved by comparing a list of server options against the quality-indexed values supplied by the client. In the following example, the Accept header is parsed and then matched against a list of server options to serve the appropriate media using mapAcceptMedia:

    getHeader >>= maybe send406Error sendResourceWith . mapAcceptMedia
    [ ("text/html",        asHtml)
    , ("application/json", asJson)
    ]
    
    Similarly, the Content-Type header can be used to produce a parser for request bodies based on the given content type with mapContentMedia:
    getContentType >>= maybe send415Error readRequestBodyWith . mapContentMedia
    [ ("application/json", parseJson)
    , ("text/plain",       parseText)
    ]
    
    The API is agnostic to your choice of server.

  4. package mmorph

    Monad morphisms This library provides monad morphism utilities, most commonly used for manipulating monad transformer stacks.

  5. package regex-tdfa

    Pure Haskell Tagged DFA Backend for "Text.Regex" (regex-base) This package provides a pure Haskell "Tagged" DFA regex engine for regex-base. This implementation was inspired by the algorithm (and Master's thesis) behind the regular expression library known as TRE or libtre. Please consult the Text.Regex.TDFA module for API documentation including a tutorial with usage examples; see also https://wiki.haskell.org/Regular_expressions for general information about regular expression support in Haskell.

  6. package smallcheck

    A property-based testing library As of 2023, this library is largely obsolete: arbitrary test generators with shrinking such as falsify offer much better user experience. SmallCheck is a testing library that allows to verify properties for all test cases up to some depth. The test cases are generated automatically by SmallCheck.

  7. package these

    An either-or-both data type. This package provides a data type These a b which can hold a value of either type or values of each type. This is usually thought of as an "inclusive or" type (contrasting Either a b as "exclusive or") or as an "outer join" type (contrasting (a, b) as "inner join").

    data These a b = This a | That b | These a b
    
    Since version 1, this package was split into parts:

  8. package Diff

    Diff algorithm in pure Haskell Implementation of the standard diff algorithm in Haskell. Time complexity is O(ND) (input length * number of differences). Space complexity is O(D^2). Includes utilities for pretty printing.

  9. package clock

    High-resolution clock functions: monotonic, realtime, cputime. A package for convenient access to high-resolution clock and timer functions of different operating systems via a unified API. POSIX code and surface API was developed by Cetin Sert in 2009. Windows code was contributed by Eugene Kirpichov in 2010. FreeBSD code was contributed by Finn Espen Gundersen on 2013-10-14. OS X code was contributed by Gerolf Seitz on 2013-10-15. Derived Generic, Typeable and other instances for Clock and TimeSpec was contributed by Mathieu Boespflug on 2014-09-17. Corrected dependency listing for GHC < 7.6 was contributed by Brian McKenna on 2014-09-30. Windows code corrected by Dimitri Sabadie on 2015-02-09. Added timeSpecAsNanoSecs as observed widely-used by Chris Done on 2015-01-06, exported correctly on 2015-04-20. Imported Control.Applicative operators correctly for Haskell Platform on Windows on 2015-04-21. Unit tests and instance fixes by Christian Burger on 2015-06-25. Removal of fromInteger : Integer -> TimeSpec by Cetin Sert on 2015-12-15. New Linux-specific Clocks: MonotonicRaw, Boottime, MonotonicCoarse, RealtimeCoarse by Cetin Sert on 2015-12-15. Reintroduction fromInteger : Integer -> TimeSpec by Cetin Sert on 2016-04-05. Fixes for older Linux build failures introduced by new Linux-specific clocks by Mario Longobardi on 2016-04-18. Refreshment release in 2019-04 after numerous contributions. Refactoring for Windows, Mac implementation consistence by Alexander Vershilov on 2021-01-16.

    • Version Scheme Major-R-ewrite . New-F-unctionality . I-mprovementAndBugFixes . P-ackagingOnly
    • PackagingOnly changes are made for quality assurance reasons.

  10. package cmdargs

    Command line argument processing This library provides an easy way to define command line parsers. Most users will want to use the System.Console.CmdArgs.Implicit module, whose documentation contains an example.

    • System.Console.CmdArgs.Explicit provides a way to write command line parsers for both single mode programs (most programs) and multiple mode programs (e.g. darcs or cabal). Parsers are defined by constructing a data structure.
    • System.Console.CmdArgs.Implicit provides a way to concisely define command line parsers, up to three times shorter than getopt. These parsers are translated into the Explicit data type.
    • System.Console.CmdArgs.GetOpt provides a wrapper allowing compatiblity with existing getopt parsers, mapping to the Explicit data type.
    For a general reference on what command line flags are commonly used, see http://www.faqs.org/docs/artu/ch10s05.html.

Page 14 of many | Previous | Next