The derive-monoid package

[Tags:library, mit, program, test]

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]

Properties

Versions 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 repository head: git clone https://github.com/sboosali/derive-monoid
Uploaded Mon May 1 22:17:33 UTC 2017 by sboo
Distributions NixOS:0.0.1
Downloads 138 total (19 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-05-01 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for derive-monoid

Readme for derive-monoid-0.0.1

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.