@hackage groups-generic0.1.0.0

Generically derive Group instances.

Generically derive group instances:

data MyRecord
  = MyRecord
  { field1 :: Sum Double
  , field2 :: Product Double
  , field3 :: ( Sum Int, Sum Int )
  }
  deriving Generic
  deriving ( Semigroup, Monoid, Group )
    via GenericProduct MyRecord