Skip to content

Commit

Permalink
Add Data.Semigroup and Data.List.NonEmpty (re #10365)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hvr committed Oct 2, 2015
1 parent e3ab25a commit 03b3804
Show file tree
Hide file tree
Showing 4 changed files with 1,168 additions and 0 deletions.

0 comments on commit 03b3804

Please sign in to comment.