----------------------------------------------------------------------------- -- | -- Module : Data.Generics.Sum -- Copyright : (C) 2018 Csongor Kiss -- License : BSD3 -- Maintainer : Csongor Kiss <kiss.csongor.kiss@gmail.com> -- Stability : experimental -- Portability : non-portable -- -- Magic sum operations using Generics -- -- These classes need not be instantiated manually, as GHC can automatically -- prove valid instances via Generics. Only the `Generic` class needs to -- be derived (see examples). -- ----------------------------------------------------------------------------- module Data.Generics.Sum ( -- *Prisms module Data.Generics.Sum.Any , module Data.Generics.Sum.Constructors , module Data.Generics.Sum.Subtype , module Data.Generics.Sum.Typed ) where import Data.Generics.Sum.Any import Data.Generics.Sum.Constructors import Data.Generics.Sum.Subtype import Data.Generics.Sum.Typed