cached-0.1.0.0: Cache values to disk.

Safe HaskellNone
LanguageHaskell2010

Data.Cached.Internal

Contents

Synopsis

Documentation

data Cached a Source #

A value that is produced from files on disk or arbitrary IO actions.

Instances
Functor Cached Source # 
Instance details

Defined in Data.Cached.Internal

Methods

fmap :: (a -> b) -> Cached a -> Cached b #

(<$) :: a -> Cached b -> Cached a #

Applicative Cached Source # 
Instance details

Defined in Data.Cached.Internal

Methods

pure :: a -> Cached a #

(<*>) :: Cached (a -> b) -> Cached a -> Cached b #

liftA2 :: (a -> b -> c) -> Cached a -> Cached b -> Cached c #

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

(<*) :: Cached a -> Cached b -> Cached a #

Floating a => Floating (Cached a) Source # 
Instance details

Defined in Data.Cached.Internal

Methods

pi :: Cached a #

exp :: Cached a -> Cached a #

log :: Cached a -> Cached a #

sqrt :: Cached a -> Cached a #

(**) :: Cached a -> Cached a -> Cached a #

logBase :: Cached a -> Cached a -> Cached a #

sin :: Cached a -> Cached a #

cos :: Cached a -> Cached a #

tan :: Cached a -> Cached a #

asin :: Cached a -> Cached a #

acos :: Cached a -> Cached a #

atan :: Cached a -> Cached a #

sinh :: Cached a -> Cached a #

cosh :: Cached a -> Cached a #

tanh :: Cached a -> Cached a #

asinh :: Cached a -> Cached a #

acosh :: Cached a -> Cached a #

atanh :: Cached a -> Cached a #

log1p :: Cached a -> Cached a #

expm1 :: Cached a -> Cached a #

log1pexp :: Cached a -> Cached a #

log1mexp :: Cached a -> Cached a #

Fractional a => Fractional (Cached a) Source # 
Instance details

Defined in Data.Cached.Internal

Methods

(/) :: Cached a -> Cached a -> Cached a #

recip :: Cached a -> Cached a #

fromRational :: Rational -> Cached a #

Num a => Num (Cached a) Source # 
Instance details

Defined in Data.Cached.Internal

Methods

(+) :: Cached a -> Cached a -> Cached a #

(-) :: Cached a -> Cached a -> Cached a #

(*) :: Cached a -> Cached a -> Cached a #

negate :: Cached a -> Cached a #

abs :: Cached a -> Cached a #

signum :: Cached a -> Cached a #

fromInteger :: Integer -> Cached a #

Semigroup a => Semigroup (Cached a) Source # 
Instance details

Defined in Data.Cached.Internal

Methods

(<>) :: Cached a -> Cached a -> Cached a #

sconcat :: NonEmpty (Cached a) -> Cached a #

stimes :: Integral b => b -> Cached a -> Cached a #

Monoid a => Monoid (Cached a) Source # 
Instance details

Defined in Data.Cached.Internal

Methods

mempty :: Cached a #

mappend :: Cached a -> Cached a -> Cached a #

mconcat :: [Cached a] -> Cached a #

Build

newtype Build Source #

Constructors

Build 
Instances
Semigroup Build Source # 
Instance details

Defined in Data.Cached.Internal

Methods

(<>) :: Build -> Build -> Build #

sconcat :: NonEmpty Build -> Build #

stimes :: Integral b => b -> Build -> Build #

Monoid Build Source # 
Instance details

Defined in Data.Cached.Internal

Methods

mempty :: Build #

mappend :: Build -> Build -> Build #

mconcat :: [Build] -> Build #