Package1.2.5.1DataAlgebraText
monoid-subclasses
Subclasses of Monoid
- Version1.2.5.1
- CategoryData, Algebra, Text
- LicenceBSD-3-Clause
- AuthorMario Blažević
- MaintainerMario Blažević <blamario@protonmail.com>
- Homepagegithub.com/blamario/monoid-subclasses
- Pinned byhackage monoid-subclasses 1.2.5.1
- Sourcehackage.haskell.org/package/monoid-subclasses-1.2.5.1
Modules
16 modules- Data.Monoid.Cancellative7This module defines the Monoid => CommutativeMonoid => ReductiveMonoid => CancellativeMonoid constraint
- Data.Monoid.Factorial2This module defines the FactorialMonoid class and some of its instances.
- Data.Monoid.GCD7This module defines the GCDMonoid subclass of the Monoid class. The GCDMonoid subclass adds the gcd operation which takes two monoidal ar…
- Data.Monoid.Instances.ByteString.UTF82This module defines the ByteStringUTF8 newtype wrapper around ByteString, together with its TextualMonoid
- Data.Monoid.Instances.CharVector0This module contains orphan IsString and TextualMonoid instances of Vector Char.
- Data.Monoid.Instances.Concat4This module defines the monoid transformer data type Concat.
- Data.Monoid.Instances.Measured3This module defines the monoid transformer data type Measured.
- Data.Monoid.Instances.Positioned6This module defines two monoid transformer data types, OffsetPositioned and LinePositioned. Both data types add
- Data.Monoid.Instances.PrefixMemory4This module defines the monoid transformer data type Shadowed.
- Data.Monoid.Instances.Stateful4This module defines the monoid transformer data type Stateful. > let s = setState [4] $ pure "data" :: Stateful [Int] String
- Data.Monoid.LCM2This module defines the LCMMonoid subclass of the Monoid class. The LCMMonoid subclass adds the lcm operation, which takes two monoidal
- Data.Monoid.Monus2This module defines the OverlappingGCDMonoid => Monus subclass of the Monoid class.
- Data.Monoid.Null2This module defines the MonoidNull class and some of its instances.
- Data.Monoid.Textual1This module defines the TextualMonoid class and several of its instances.
- Data.Semigroup.Cancellative8This module defines the Semigroup => Reductive => Cancellative class hierarchy. The Reductive class introduces operation </> which is the…
- Data.Semigroup.Factorial4This module defines the Semigroup => Factorial => StableFactorial classes and some of their instances.
Description
A hierarchy of subclasses of Monoid together with their instances for all data structures from base, containers, and text packages.
Depends on
7 packages- base-4.20.2.0with GHC
- bytestring-0.12.2.0with GHC
- commutative-semigroups-0.2.0.1in this set
- containers-0.7with GHC
- primes-0.2.1.0in this set
- text-2.1.3with GHC
- vector-0.13.2.0in this set