Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Numbers represented using scientific notation Data.Scientific provides the number type Scientific. Scientific numbers are arbitrary precision and space efficient. They are represented using scientific notation. The implementation uses a coefficient c :: Integer and a base-10 exponent e :: Int. A scientific number corresponds to the Fractional number: fromInteger c * 10 ^^ e. Note that since we're using an Int to represent the exponent these numbers aren't truly arbitrary precision. I intend to change the type of the exponent to Integer in a future release. The main application of Scientific is to be used as the target of parsing arbitrary precision numbers coming from an untrusted source. The advantages over using Rational for this are that:
- A Scientific is more efficient to construct. Rational numbers need to be constructed using % which has to compute the gcd of the numerator and denominator.
- Scientific is safe against numbers with huge exponents. For example: 1e1000000000 :: Rational will fill up all space and crash your program. Scientific works as expected:
>>> read "1e1000000000" :: Scientific 1.0e1000000000
-
Framework for running and organising tests, with HUnit and QuickCheck support Allows tests such as QuickCheck properties and HUnit test cases to be assembled into test groups, run in parallel (but reported in deterministic order, to aid diff interpretation) and filtered and controlled by command line options. All of this comes with colored test output, progress reporting and test statistics output.
-
Utilities and combinators for parsing command line options optparse-applicative is a haskell library for parsing options on the command line, and providing a powerful applicative interface for composing them. optparse-applicative takes care of reading and validating the arguments passed to the command line, handling and reporting errors, generating a usage line, a comprehensive help screen, and enabling context-sensitive bash, zsh, and fish completions. See the included README for detailed instructions and examples, which is also available on github https://github.com/pcapriotti/optparse-applicative.
-
Streaming data processing library. conduit is a solution to the streaming data problem, allowing for production, transformation, and consumption of streams of data in constant memory. It is an alternative to lazy I/O which guarantees deterministic resource handling. For more information about conduit in general, and how this package in particular fits into the ecosystem, see the conduit homepage. Hackage documentation generation is not reliable. For up to date documentation, please see: http://www.stackage.org/package/conduit.
-
Web Application Interface. Provides a common protocol for communication between web applications and web servers. API docs and the README are available at http://www.stackage.org/package/wai.
-
An HTTP client engine Hackage documentation generation is not reliable. For up to date documentation, please see: http://www.stackage.org/package/http-client.
-
Common quickcheck instances QuickCheck instances. The goal is to supply QuickCheck instances for types provided by the Haskell Platform. Since all of these instances are provided as orphans, I recommend that you do not use this library within another library module, so that you don't impose these instances on down-stream consumers of your code.
-
Portable temporary file and directory support Functions for creating temporary files and directories.
-
Haskell 98 phantom types to avoid unsafely passing dummy arguments Haskell 98 phantom types to avoid unsafely passing dummy arguments.
-
Deterministic allocation and freeing of scarce resources. Hackage documentation generation is not reliable. For up to date documentation, please see: http://www.stackage.org/package/resourcet.