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