Changelog for semigroups-0.19.1
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
, andSelector
instances for internal data types could overlap with GHC-generated instances.
0.19 [2019.05.10]
- The
(<>)
method of the backportedSemigroup
class no longer has a default implementation in terms ofmappend
. This mirrors theData.Semigroup
API that was introduced inbase-4.9
. This is a breaking change for anySemigroup
instances that are defined in tandem with versions ofbase
older than 4.9. - Make the backported
Hashable Arg
instance reflect its respective variants in thehashable
package. Inhashable-1.3
, theHashable Arg
instance 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.NonEmpty
is now unconditionallyTrustworthy
.
0.18.5 [2018.07.02]
- Use a more efficient
sconcat
for theSemigroup
instances for strict and lazyByteString
.
0.18.4 [2018.01.29]
- Backport
Semigroup
instances forData.Ord.Down
and strictST
, which were added inbase-4.11
.
0.18.3
- Add
Semigroup
instance forIO
, as well as forEvent
andLifetime
fromGHC.Event
- Add
Eq1
,Ord1
,Read1
, andShow1
instances forNonEmpty
- Define
Generic
andGeneric1
instances back to GHC 7.2, and expose theData.Semigroup.Generic
module on GHC 7.2
0.18.2
- Depend on the
bytestring-builder
package to ensureSemigroup
instances for bytestringBuilder
andShortByteString
are always defined - Allow building with
binary-0.8.3
and 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
@since
annotations
0.17
- Added
groupWith
,groupAllWith
,groupWith1
,groupAllWith1
- Renamed
sortOn
tosortWith
to match the "Comprehensive comprehensions" paper andTransformListComp
extension. - Add
Semigroup
instances forAlt
,Void
,Proxy
andTagged
- Add
Num
instances forMin
andMax
- Removed
times1p
in 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. (
Generic1
deriving was only added in GHC 7.6)
0.16.2
- Added
genericMappend
and supportingGSemigroup
class for generically deriving Semigroup instances. - Added
Arg a b
which only compares for equality/order on its first argument, which can be used to computeargmin
andargmax
. - Add
Bifunctor
Arg
instance to avoid orphans for GHC 7.10+. - Added missing
Data.Monoid.Generic
module to source control.
0.16.1
- Added
Semigroup
instances for various Builder constructions intext
andbytestring
where available. - Added
MonadFix
andMonadPlus
instances forNonEmpty
.
0.16.0.1
- Bumped
deepseq
version bound for GHC 7.10 compatibility.
0.16
times1p
andtimesN
are now reduced to accepting only aNatural
argument.Whole
doesn't exist in GHC 7.10's Numeric.Natural, andnats
version 1 has removed support for the class.
0.15.4
- Use
Data.Coerce.coerce
on GHC 7.8+ to reduce the number of eta-expansions in the resulting core. - Avoid conflict with pending
Foldable.length
in base.
0.15.3
instance NFData a => NFData (NonEmpty a)
- Added
NFData
instances 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
Enum
instances.
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
Safe
Haskell if you configure with -f-hashable. -
Added some missing
Generic
/Generic
/Hashable
instances
0.13.0.1
Generic
support requiresghc-prim
on 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
text
andbytestring
.
0.12.1
- Updated to support the new version of
text
. - Added
transpose
,sortBy
andsortWith
.
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
,bytestring
andtext
.
0.9.2
- Added a
DefaultSignature
for(<>)
in terms ofmappend
.
0.9.1
- Added
timesN
.
0.9
- Moved
Numeric.Natural
to a separatenats
package.