Browse Source

Remove an erroneous `Monoid` constraint (#6)

Remove an erroneous `Monoid` constraint

Co-authored-by: Alex Feldman-Crough <alex@fldcr.com>
Reviewed-on: prosidy/prosidy#6
chris-martin-patch-1
alex 1 year ago
parent
commit
a72322bd2f
  1. 3
      CHANGELOG
  2. 2
      prosidy.cabal
  3. 2
      src/Prosidy/Types/Series.hs

3
CHANGELOG

@ -1,3 +1,6 @@
# v1.6 _(2020-03-01)_
- Removed an erroneous `Monoid` constraint from `SeriesNE`
# v1.5.0.1 _(2020-02-24)_
- Added `CHANGELOG` to its own file.
- Included `CHANGELOG` and `README.pro` in the source distribution.

2
prosidy.cabal

@ -1,6 +1,6 @@
cabal-version: 2.4
name: prosidy
version: 1.5.0.1
version: 1.6.0.0
synopsis: A simple language for writing documents.
license: MPL-2.0
license-file: LICENSE

2
src/Prosidy/Types/Series.hs

@ -60,7 +60,7 @@ instance Traversable Series where
-- | A non-empty 'Series'.
newtype SeriesNE a = SeriesNE (Seq a)
deriving stock (Generic, Show)
deriving newtype (Eq, Foldable, Functor, Applicative, ToJSON, NFData, Semigroup, Monoid)
deriving newtype (Eq, Foldable, Functor, Applicative, ToJSON, NFData, Semigroup)
instance Binary a => Binary (SeriesNE a) where
get =

Loading…
Cancel
Save