- Bumped the
containers
dependency upper bound
Data.Monoid.Null.MonoidNull
now has a default implementation- Add instances of
MonoidNull
and (where appropriate)PositiveMonoid
for:(a, b, c, d, e)
Data.Functor.Compose f g a
Data.Functor.Const r a
Data.Functor.Identity a
Data.Functor.Product f g a
Data.Ord.Down a
Data.Proxy.Proxy a
Data.Semigroup.Max a
Data.Semigroup.Min a
Data.Semigroup.WrappedMonoid a
GHC.Generics.(:*:) f g a
GHC.Generics.(:.:) f g a
GHC.Generics.K1 i c p
GHC.Generics.M1 i c f p
GHC.Generics.Par1 p
GHC.Generics.Rec1 f p
GHC.Generics.U1 p
- Added instances of
Reductive
forMax a
,Min a
,Any
, andAll
- Bumped the
commutative-semigroups
dependency upper bound
- Bumped the
text
dependency upper bound
- Added
Data.Monoid.Instances.PrefixMemory.Shadowed
monoid transformer
- Added
DistributiveGCDMonoid
andDistributiveLCMMonoid
type class by Jonathan Knowles
- Added
Data.Monoid.LCM
module withLCMMonoid
type class by Jonathan Knowles - Repaired links to Hackage within
README.md
by Jonathan Knowles
- Fix for the
Monus
instance forMaybe
by Jonathan Knowles
- Dropped support for GHC < 8.4
- Depending on new
commutative-semigroups
package - Modified the
instance OverlappingMonoid/Monus Map/IntMap
instances to conform with the class laws - Bumped the
vector
dependency upper bounds
- Canonicalized all
mappend
definitions - Added
deriving (Data, Typeable)
to all data types
- Support for text-2.0 by Bodigrim
- CI tests
- Fallback implementation of
stripCommonSuffix @Text
for GHCjs by Jack Kelly - Fixed documentation bug #31, Factorial laws too strong
- Fixed compilation with GHC 8.0.2
Positioned
doesn't use a column for zero-width characters any more
- Added a new TextualMonoid method
toText
for performance - Fixed the calculations of
column
ofLinePositioned
- Changed the
column
ofLinePositioned
to be one-based LinePositioned
now treats FF, CR, and TAB characters as special, in accordance with Haskell language specification.
- Incremented the lower bound of the base dependency
- Fixed Haddock links
- Fixed issue #24, unlawful LeftReductiveMonoid instance for Map
- Tightened the laws of GCD classes, dropped instances for Sum and Product
- Introduced the
Monus
class - Introduced the
OverlappingGCDMonoid
class - Added the instances of type
Sum Natural
andProduct Natural
- Using the language extensions
FlexibleInstances
andOverlappingInstances
- Removed the linear complexity requirement
- Added and documented less efficient instances
- Moved various GCD classes into the new module
Data.Monoid.GCD
- Added module
Data.Semigroup.Cancellative
withSemigroup
subclasses - Added module
Data.Semigroup.Factorial
withSemigroup
subclasses - Deprecated several
Monoid
subclasses and made them constraint synonyms instead:type CommutativeMonoid m = (Monoid m, Commutative m)
type ReductiveMonoid m = (Monoid m, Reductive m)
type LeftReductiveMonoid m = (Monoid m, LeftReductive m)
type RightReductiveMonoid m = (Monoid m, RightReductive m)
type CancellativeMonoid m = (Monoid m, Cancellative m)
type LeftCancellativeMonoid m = (Monoid m, LeftCancellative m)
type RightCancellativeMonoid m = (Monoid m, RightCancellative m)
Bumped the containers dependency upper bounds
Added the Semigroup instances to fix the compilation errors with base-4.11
Fixed boundary condition bugs in ByteStringUTF8 uncovered by a new version of QuickCheck
Fixed compilation errors with GHC 7.8.4 and older
Bumped the vector dependency upper bounds
- Added instances for 3- and 4-tuples
- Re-implemented Concat as an own data type, dropping Seq
- Fixed compilation problems with GHC 8 and containers-0.5.7
- Fixed compilation problems with GHC 8 and containers-0.5.7
- Merge pull request #10 from mgiles: minor typo in FactorialMonoid laws
- Fixed a bug in splitAt implementation for ByteStringUTF8
- Merge pull request #9 from phadej: use newest quickcheck-instances
- Removed the overzealous assertions from ByteStringUTF8
Removing accidental reference to Instances.Markup module
- Bumped the vector dependency upper bounds
- Removed GHC-prof-options from the cabal file
- Changed the Prelude imports to enable compilation with GHC 7.4
- Added INLINE pragmas
- Added the toString method to TextualMonoid class
- Importing Text.Show.Functions to avoid overlapping instances
- Eliminated the redundant import warnings from GHC 7.10.1
- Added -Wall GHC option and eliminated almost all the warnings
- Fixed a bug in the Textual instance of ByteStringUTF8
- Excluding the imports of foldMap from Prelude
- Added more tests and fixed a bug in Stateful
- Fixed a bug in Positioned.span_
- Optimized the Stateful data type
- Added a bunch of pragmas
- Deprecated all the inject functions
- Registered the new Stateful module
Accommodating the text-1.0 release
- Introduced the function ByteStringUTF8.decode
- Removed the utf-string dependency
- Replaced the utf-string import by a more efficient UTF-8 encoding
- Added the Data.Monoid.Instances.Concat module and tests
- Added the PositiveMonoid class
- Added the StableFactorialMonoid subclass of FactorialMonoid
- Added more instances for ()
Added the CommutativeMonoid class at the root of the Cancellative classes
- Added TextualMonoid instances for Seq Char and Vector Char
- Renamed the FactorialMonoid method map to foldMap in keeping with Foldable
Optimizations of the default Factorial methods and of the ButeStringUTF8 instances
Initial release