{-# language CPP #-} --------------------------------------------------------------------------------- -- | -- Copyright : (c) Edward Kmett 2017-2018 -- License : BSD2 -- Maintainer: Edward Kmett -- Stability : experimental -- Portability: non-portable -- --------------------------------------------------------------------------------- signature Delta ( Delta ) where import Data.Data import Data.Default import Data.Hashable #if __GLASGOW_HASKELL__ < 804 import Data.Semigroup #endif import GHC.Generics data Delta instance Eq Delta instance Ord Delta instance Data Delta instance Generic Delta instance Num Delta -- hackishly used with (+) (-) as a group for now instance Show Delta instance Read Delta instance Hashable Delta instance Default Delta instance Semigroup Delta instance Monoid Delta