Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Data.Monoid.Instances.
Positioned This module defines two monoid transformer data types, OffsetPositioned and LinePositioned. Both data types add a notion of the current position to their base monoid. In case of OffsetPositioned, the current position is a simple integer offset from the beginning of the monoid, and it can be applied to any StableFactorial. The base monoid of LinePositioned must be a TextualMonoid, but for the price it will keep track of the current line and column numbers as well. Line number is zero-based, column one-based:
> let p = pure "abcd\nefgh\nijkl\nmnop\n" :: LinePositioned String > p "abcd\nefgh\nijkl\nmnop\n" > Data.Monoid.Factorial.drop 13 p Line 2, column 4: "l\nmnop\n"
module Data.Monoid.Instances.
PrefixMemory This module defines the monoid transformer data type Shadowed.
class MonoidNull m =>
PositiveMonoid mmonoid-subclasses Data.Monoid.Null Subclass of Monoid for types whose values have no inverse, with the exception of mempty. More formally, the class instances must satisfy the following law:
null (x <> y) == (null x && null y)
-
Cabal-syntax Distribution.Compat.Lens lens variant is also parametrised by profunctor.
Pretext :: (forall (f :: Type -> Type) . Functor f => (a -> f b) -> f t) -> Pretext a b tCabal-syntax Distribution.Compat.Lens No documentation available.
module Distribution.Compat.
Parsing Alternative parser combinators. Originally in parsers package.
class Alternative m =>
Parsing (m :: Type -> Type)Cabal-syntax Distribution.Compat.Parsing Additional functionality needed to describe parsers independent of input type.
module Distribution.Compat.
Prelude This module does two things:
- Acts as a compatibility layer, like base-compat.
- Provides commonly used imports.
-
Cabal-syntax Distribution.Compat.Prelude No documentation available.
-
Cabal-syntax Distribution.Compat.Prelude No documentation available.