derive-monoid: derive Semigroup/Monoid/IsList

[ derive-monoid, derive-monoid-, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

when your type can hold a list of itself, you can derive simple (but total/lawful) Semigroup/Monoid/IsList instances with TemplateHaskell.

see the Derive.List for examples and documentation. browse the test suite for more (buildable) examples:


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.0, 0.0.1
Dependencies base (>=4.9 && <5.0), derive-monoid, template-haskell (>=2.10) [details]
License MIT
Author Spiros Boosalis
Maintainer samboosalis@gmail.com
Category derive-monoid
Home page https://github.com/sboosali/derive-monoid#readme
Source repo head: git clone https://github.com/sboosali/derive-monoid
Uploaded by sboo at 2017-05-01T22:17:33Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables example-derive-monoid
Downloads 1795 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-05-01 [all 1 reports]

Readme for derive-monoid-0.0.1

[back to package description]

derive-monoid

when your type can hold a list of itself, you can derive simple (but total/lawful) Semigroup/Monoid/IsList instances with TemplateHaskell.

see Derive.Monoid on hackage for examples and documentation.