This package contains the Prelude and its support libraries, and a large collection of useful libraries ranging from data structures to parsing combinators and debugging utilities.
An attempt to break up the monolithic IO monad into small, composable classes that can be used to restrict a function to only having access to, say, functions to work with the standard pipes, or a function that can access the environment. The motivation for this library is to allow people to make a stricter contract than simply "this function does IO", and express through the type system exactly what IO is being performed.
This package defines new symbols for a number of functions, operators and types in the base package.
All symbols are documented with their actual definition and information regarding their Unicode code point. They should be completely interchangeable with their definitions.
For further Unicode goodness you can enable the UnicodeSyntax language extension . This extension enables Unicode characters to be used to stand for certain ASCII character sequences, i.e. → instead of ->, ∀ instead of forall and many others.
Original idea by Péter Diviánszky.
Fast base16 (hex) encoding and decoding for ByteStrings
Datatypes with show and read instances that match the spec for Bitcoin and Ripple addresses.
Fast base64 encoding and decoding for ByteStrings
Base64-encode and decode streams of bytes.
This Base64 implementation uses the characters A-Z a-z 0-9 + along with = to signal the number of characters mod 3. It is compliant with both PEM (RFC 989 RFC 1421) and MIME (RFC 2045).
Extensible exceptions, except for multiple handlers.
Definitions of Request and Response types along with functions for normalizing them. It is assumed to be an internal module; user code should, if possible, import Network.HTTP to access the functionality that this module provides.
Additionally, the module exports internal functions for working with URLs, and for handling the processing of requests and responses coming back.
Basic definitions for the HUnit library.
This module contains what you need to create assertions and test cases and combine them into test suites.
This module also provides infrastructure for implementing test controllers (which are used to execute tests). See Test.HUnit.Text for a great example of how to implement a test controller.
Classes and instances for Regex matching.
This module merely imports and re-exports the common part of the new api: Text.Regex.Base.RegexLike and Text.Regex.Base.Context.
To see what result types the instances of RegexContext can produce, please read the Text.Regex.Base.Context haddock documentation.
This does not provide any of the backends, just the common interface they all use. The modules which provide the backends and their cabal packages are:
* Text.Regex.Posix from regex-posix
* Text.Regex from regex-compat (uses regex-posix)
* Text.Regex.Parsec from regex-parsec
* Text.Regex.DFA from regex-dfa
* Text.Regex.PCRE from regex-pcre
* Test.Regex.TRE from regex-tre
In fact, just importing one of the backends is adequate, you do not also need to import this module.
TODO: Copy Example*hs files into this haddock comment
Shows a non-negative Integral number using the base specified by the first argument, and the character representation specified by the second.
This library consists of one module with a few definitions. I try to keep it small because this module has to be loaded in the interpreter many times during the runtime of the Active.hs server.
Show more results