Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
base-compat with extra batteries Provides functions available in later versions of base to a wider range of compilers, without requiring you to use CPP pragmas in your code. This package provides the same API as the base-compat library, but depends on compatibility packages (such as semigroups) to offer a wider support window than base-compat, which has no dependencies. Most of the modules in this library have the same names as in base-compat to make it easier to switch between the two. There also exist versions of each module with the suffix .Repl.Batteries, which are distinct from anything in base-compat, to allow for easier use in GHCi. See here for a more comprehensive list of differences between base-compat and base-compat-batteries.
-
Boring and Absurd types
- Boring types are isomorphic to ().
- Absurd types are isomorphic to Void.
-
Backports of GHC deriving extensions deriving-compat provides Template Haskell functions that mimic deriving extensions that were introduced or modified in recent versions of GHC. Currently, the following typeclasses/extensions are covered:
- Deriving Bounded
- Deriving Enum
- Deriving Ix
- Deriving Eq
- Deriving Ord
- Deriving Read
- Deriving Show
DeriveFoldable
DeriveFunctor
DeriveTraversable
- GeneralizedNewtypeDeriving (with GHC 8.2 or later)
- DerivingVia (with GHC 8.2 or later)
DeriveDataTypeable
- DeriveGeneric, which was introducted in GHC 7.2 for deriving Generic instances, and modified in GHC 7.6 to allow derivation of Generic1 instances. Use Generics.Deriving.TH from generic-deriving to derive Generic(1) using Template Haskell.
- DeriveLift, which was introduced in GHC 8.0 for deriving Lift instances. Use Language.Haskell.TH.Lift from th-lift to derive Lift using Template Haskell.
- The Bifunctor typeclass, which was introduced in GHC 7.10, as well as the Bifoldable and Bitraversable typeclasses, which were introduced in GHC 8.2. Use Data.Bifunctor.TH from bifunctors to derive these typeclasses using Template Haskell.
-
Test interactive Haskell examples The doctest program checks examples in source code comments. It is modeled after doctest for Python (https://docs.python.org/3/library/doctest.html). Documentation is at https://github.com/martijnbastiaan/doctest-parallel#readme.
-
Combinator-based type-safe formatting (like printf() or FORMAT) Combinator-based type-safe formatting (like printf() or FORMAT), modelled from the HoleyMonoids package. See the README at https://github.com/AJChapman/formatting#readme for more info.
-
Generically derive traversals, lenses and prisms. This library uses GHC.Generics to derive efficient optics (traversals, lenses and prisms) for algebraic data types in a type-directed way, with a focus on good type inference and error messages when possible. The library exposes a van Laarhoven interface. For an alternative interface, supporting an opaque optic type, see generic-optics.
-
Generic random generators for QuickCheck Derive instances of Arbitrary for QuickCheck, with various options to customize implementations. For more information
-
GdkPixbuf bindings Bindings for GdkPixbuf, autogenerated by haskell-gi.
-
Compile git revision info into Haskell projects Please see the README and documentation at https://www.stackage.org/package/githash
-
Integrate Hedgehog and Hspec! Please see the README on GitHub at https://github.com/hspec/hspec-hedgehog#readme