Commit 03b38042 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺

Add Data.Semigroup and Data.List.NonEmpty (re #10365)

This implements phase 1 of the semigroup-as-monoid-superclass
proposal (https://ghc.haskell.org/wiki/Proposal/SemigroupMonoid).

The modules were migrated from the `semigroups-0.17` release mostly
as-is, except for dropping several trivial `{-# INLINE #-}`s,
removing CPP usage, and instances for types & classes provided
outside of `base` (e.g. `containers`, `deepseq`, `hashable`, `tagged`,
`bytestring`, `text`)

Differential Revision: https://phabricator.haskell.org/D1284
parent e3ab25a4
This diff is collapsed.
This diff is collapsed.
......@@ -142,11 +142,13 @@ Library
Data.Int
Data.Ix
Data.List
Data.List.NonEmpty
Data.Maybe
Data.Monoid
Data.Ord
Data.Proxy
Data.Ratio
Data.Semigroup
Data.STRef
Data.STRef.Lazy
Data.STRef.Strict
......
......@@ -58,6 +58,10 @@
* The `Generic` instance for `Proxy` is now poly-kinded (#10775)
* add `Data.List.NonEmpty` and `Data.Semigroup` (to become
super-class of `Monoid` in the future). These modules were
provided by the `semigroups` package previously. (#10365)
## 4.8.1.0 *Jul 2015*
* Bundled with GHC 7.10.2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment