Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Documentation
data ComplexSingleton a where Source #
Real :: (Real a, RealOf a ~ a) => ComplexSingleton a | |
Complex :: Real a => ComplexSingleton (Complex a) |
complexSingleton :: Floating a => ComplexSingleton a Source #
complexSingletonOf :: Floating a => a -> ComplexSingleton a Source #
complexSingletonOfFunctor :: Floating a => f a -> ComplexSingleton a Source #
data PrecisionSingleton a where Source #
precisionSingleton :: Real a => PrecisionSingleton a Source #
precisionOf :: Real a => a -> PrecisionSingleton a Source #
precisionOfFunctor :: Real a => f a -> PrecisionSingleton a Source #
absoluteSquared :: Floating a => a -> RealOf a Source #