NumInstances-1.4: Instances of numeric classes for functions and tuples

Copyright | (c) Conal Elliott 2008-2013
License | BSD3
Maintainer | conal@conal.net
Stability | experimental
Safe Haskell | Safe
Language | Haskell98

Data.NumInstances.Function

Contents

- Orphan instances

Description

Number class instances for functions

# Orphan instances

Floating b => Floating (a -> b) Source # |

Instance details

Methods

pi :: a -> b Source #

exp :: (a -> b) -> a -> b Source #

log :: (a -> b) -> a -> b Source #

sqrt :: (a -> b) -> a -> b Source #

(**) :: (a -> b) -> (a -> b) -> a -> b Source #

logBase :: (a -> b) -> (a -> b) -> a -> b Source #

sin :: (a -> b) -> a -> b Source #

cos :: (a -> b) -> a -> b Source #

tan :: (a -> b) -> a -> b Source #

asin :: (a -> b) -> a -> b Source #

acos :: (a -> b) -> a -> b Source #

atan :: (a -> b) -> a -> b Source #

sinh :: (a -> b) -> a -> b Source #

cosh :: (a -> b) -> a -> b Source #

tanh :: (a -> b) -> a -> b Source #

asinh :: (a -> b) -> a -> b Source #

acosh :: (a -> b) -> a -> b Source #

atanh :: (a -> b) -> a -> b Source #

log1p :: (a -> b) -> a -> b Source #

expm1 :: (a -> b) -> a -> b Source #

log1pexp :: (a -> b) -> a -> b Source #

log1mexp :: (a -> b) -> a -> b Source #

Fractional b => Fractional (a -> b) Source # |
Instance details Methods (/) :: (a -> b) -> (a -> b) -> a -> b Source # recip :: (a -> b) -> a -> b Source # fromRational :: Rational -> a -> b Source #
Num b => Num (a -> b) Source # |
Instance details Methods (+) :: (a -> b) -> (a -> b) -> a -> b Source # (-) :: (a -> b) -> (a -> b) -> a -> b Source # (*) :: (a -> b) -> (a -> b) -> a -> b Source # negate :: (a -> b) -> a -> b Source # abs :: (a -> b) -> a -> b Source # signum :: (a -> b) -> a -> b Source # fromInteger :: Integer -> a -> b Source #