Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Monoid.Monus.Generic
Description
This module provides generic deriving tools for monuses for product-like structures.
Synopsis
- class GMonus f where
- gmonus :: (Generic a, GMonus (Rep a)) => a -> a -> a
- newtype WrappedMonus a = WrappedMonus a
Documentation
Minimal complete definition
newtype WrappedMonus a Source #
This type is useful with -XDerivingVia.
Constructors
WrappedMonus a |