Package1.2.6.1DataAlgebraText
monoid-subclasses
Subclasses of Monoid
- Version1.2.6.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.6.1
- Sourcehackage.haskell.org/package/monoid-subclasses-1.2.6.1
Modules
- Data.Monoid.CancellativeThis module defines the Monoid => CommutativeMonoid => ReductiveMonoid => CancellativeMonoid constraint
- Data.Monoid.FactorialThis module defines the FactorialMonoid class and some of its instances.
- Data.Monoid.GCDThis 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.UTF8This module defines the ByteStringUTF8 newtype wrapper around ByteString, together with its TextualMonoid
- Data.Monoid.Instances.CharVectorThis module contains orphan IsString and TextualMonoid instances of Vector Char.
- Data.Monoid.Instances.ConcatThis module defines the monoid transformer data type Concat.
- Data.Monoid.Instances.MeasuredThis module defines the monoid transformer data type Measured.
- Data.Monoid.Instances.PositionedThis module defines two monoid transformer data types, OffsetPositioned and LinePositioned. Both data types add
- Data.Monoid.Instances.PrefixMemoryThis module defines the monoid transformer data type Shadowed.
- Data.Monoid.Instances.StatefulThis module defines the monoid transformer data type Stateful. > let s = setState [4] $ pure "data" :: Stateful [Int] String
- Data.Monoid.LCMThis module defines the LCMMonoid subclass of the Monoid class. The LCMMonoid subclass adds the lcm operation, which takes two monoidal
- Data.Monoid.MonusThis module defines the OverlappingGCDMonoid => Monus subclass of the Monoid class.
- Data.Monoid.NullThis module defines the MonoidNull class and some of its instances.
- Data.Monoid.TextualThis module defines the TextualMonoid class and several of its instances.
- Data.Semigroup.CancellativeThis module defines the Semigroup => Reductive => Cancellative class hierarchy. The Reductive class introduces operation </> which is the…
- Data.Semigroup.FactorialThis 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.23.0.0with GHC
- bytestring-0.12.2.0with GHC
- commutative-semigroups-0.2.0.2in this set
- containers-0.8with GHC
- primes-0.2.1.0in this set
- text-2.1.4with GHC
- vector-0.13.2.0in this set