Changelog for semigroups-0.20
0.20 [2021.11.15]
- Support
hashable-1.4. TheHashable1instances added in 0.19.2 are removed for all types exceptNonEmpty, in accordance with the corresponding changes fromhashable-1.4.
0.19.2 [2021.08.30]
- Backport
Hashable1instances forNonEmpty,Min,Max,First,Last,WrappedMonoid, andOption.
0.19.1 [2019.08.27]
- Add
GenericSemigroupMonoid, an adapter newtype suitable forDerivingVia, toData.Semigroup.Generic. - Work around a bug related to the backported
Generic(1)instances in this package (that could only be triggered on GHC 7.2 or 7.4) in which the hand-writtenDatatype,Constructor, andSelectorinstances for internal data types could overlap with GHC-generated instances.
0.19 [2019.05.10]
- The
(<>)method of the backportedSemigroupclass no longer has a default implementation in terms ofmappend. This mirrors theData.SemigroupAPI that was introduced inbase-4.9. This is a breaking change for anySemigroupinstances that are defined in tandem with versions ofbaseolder than 4.9. - Make the backported
Hashable Arginstance reflect its respective variants in thehashablepackage. Inhashable-1.3, theHashable Arginstance only hashes the first argument, lest equal values have different hashes. - Backport the
Lift (NonEmpty a)instance introduced intemplate-haskell-2.15.0.0. Data.List.NonEmptyis now unconditionallyTrustworthy.
0.18.5 [2018.07.02]
- Use a more efficient
sconcatfor theSemigroupinstances for strict and lazyByteString.
0.18.4 [2018.01.29]
- Backport
Semigroupinstances forData.Ord.Downand strictST, which were added inbase-4.11.
0.18.3
- Add
Semigroupinstance forIO, as well as forEventandLifetimefromGHC.Event - Add
Eq1,Ord1,Read1, andShow1instances forNonEmpty - Define
GenericandGeneric1instances back to GHC 7.2, and expose theData.Semigroup.Genericmodule on GHC 7.2
0.18.2
- Depend on the
bytestring-builderpackage to ensureSemigroupinstances for bytestringBuilderandShortByteStringare always defined - Allow building with
binary-0.8.3and later
0.18.1
- Add the missing instance for
Data.Binary.Builder.Builder.
0.18.0.1
- Added support for
base-4.9
0.18
- Removed the partial functions
words,unwords,lines,unlines
0.17.0.1
- Fixed the
@sinceannotations
0.17
- Added
groupWith,groupAllWith,groupWith1,groupAllWith1 - Renamed
sortOntosortWithto match the "Comprehensive comprehensions" paper andTransformListCompextension. - Add
Semigroupinstances forAlt,Void,ProxyandTagged - Add
Numinstances forMinandMax - Removed
times1pin favor ofstimes.
0.16.2.2
- Cleaned up imports to remove warnings on GHC 7.10.
0.16.2.1
- Restored the ability to build on GHC < 7.6. (
Generic1deriving was only added in GHC 7.6)
0.16.2
- Added
genericMappendand supportingGSemigroupclass for generically deriving Semigroup instances. - Added
Arg a bwhich only compares for equality/order on its first argument, which can be used to computeargminandargmax. - Add
BifunctorArginstance to avoid orphans for GHC 7.10+. - Added missing
Data.Monoid.Genericmodule to source control.
0.16.1
- Added
Semigroupinstances for various Builder constructions intextandbytestringwhere available. - Added
MonadFixandMonadPlusinstances forNonEmpty.
0.16.0.1
- Bumped
deepseqversion bound for GHC 7.10 compatibility.
0.16
times1pandtimesNare now reduced to accepting only aNaturalargument.Wholedoesn't exist in GHC 7.10's Numeric.Natural, andnatsversion 1 has removed support for the class.
0.15.4
- Use
Data.Coerce.coerceon GHC 7.8+ to reduce the number of eta-expansions in the resulting core. - Avoid conflict with pending
Foldable.lengthin base.
0.15.3
instance NFData a => NFData (NonEmpty a)- Added
NFDatainstances for the types in Data.Semigroup
0.15.2
- Fixed a Trustworthiness problem for GHC 7.8+
0.15.1
- Nathan van Doorn fixed a number of embarrassing bugs in the
Enuminstances.
0.15
instance IsList NonEmpty
0.14
-
Allow for manual removal of dependencies to support advanced sandbox users who explicitly want to avoid compiling certain dependencies they know they aren't using.
We will fix bugs caused by any combination of these package flags, but the API of the package should be considered the default build configuration with all of the package dependency flags enabled.
-
Will now build as full-fledged
SafeHaskell if you configure with -f-hashable. -
Added some missing
Generic/Generic/Hashableinstances
0.13.0.1
Genericsupport requiresghc-primon GHC 7.4.
0.13
- Added instances for 'Generic', 'Foldable', 'Traversable', 'Enum', 'Functor', 'Hashable', 'Applicative', 'Monad' and 'MonadFix'
0.12.2
- Vastly widened the dependency bound on
textandbytestring.
0.12.1
- Updated to support the new version of
text. - Added
transpose,sortByandsortWith.
0.12
- Added an instance for
Const r. - Added
some1
0.11
- Added the missing instance for
HashSet.
0.10
- Added support for
unordered-containers,bytestringandtext.
0.9.2
- Added a
DefaultSignaturefor(<>)in terms ofmappend.
0.9.1
- Added
timesN.
0.9
- Moved
Numeric.Naturalto a separatenatspackage.