streamly-0.10.1: Streaming, dataflow programming and declarative concurrency
Copyright(c) 2021 Composewell Technologies
LicenseBSD-3-Clause
Maintainerstreamly@composewell.com
Stabilityreleased
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Streamly.Data.Fold.Tee

Description

Deprecated: Please use Streamly.Data.Fold module from the streamly-core package.

Documentation

newtype Tee (m :: Type -> Type) a b #

Constructors

Tee 

Fields

Instances

Instances details
Monad m => Applicative (Tee m a) 
Instance details

Defined in Streamly.Internal.Data.Fold.Tee

Methods

pure :: a0 -> Tee m a a0 Source #

(<*>) :: Tee m a (a0 -> b) -> Tee m a a0 -> Tee m a b Source #

liftA2 :: (a0 -> b -> c) -> Tee m a a0 -> Tee m a b -> Tee m a c Source #

(*>) :: Tee m a a0 -> Tee m a b -> Tee m a b Source #

(<*) :: Tee m a a0 -> Tee m a b -> Tee m a a0 Source #

Functor m => Functor (Tee m a) 
Instance details

Defined in Streamly.Internal.Data.Fold.Tee

Methods

fmap :: (a0 -> b) -> Tee m a a0 -> Tee m a b Source #

(<$) :: a0 -> Tee m a b -> Tee m a a0 Source #

(Monoid b, Monad m) => Monoid (Tee m a b) 
Instance details

Defined in Streamly.Internal.Data.Fold.Tee

Methods

mempty :: Tee m a b Source #

mappend :: Tee m a b -> Tee m a b -> Tee m a b Source #

mconcat :: [Tee m a b] -> Tee m a b Source #

(Semigroup b, Monad m) => Semigroup (Tee m a b) 
Instance details

Defined in Streamly.Internal.Data.Fold.Tee

Methods

(<>) :: Tee m a b -> Tee m a b -> Tee m a b Source #

sconcat :: NonEmpty (Tee m a b) -> Tee m a b Source #

stimes :: Integral b0 => b0 -> Tee m a b -> Tee m a b Source #

(Monad m, Floating b) => Floating (Tee m a b) 
Instance details

Defined in Streamly.Internal.Data.Fold.Tee

Methods

pi :: Tee m a b Source #

exp :: Tee m a b -> Tee m a b Source #

log :: Tee m a b -> Tee m a b Source #

sqrt :: Tee m a b -> Tee m a b Source #

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

logBase :: Tee m a b -> Tee m a b -> Tee m a b Source #

sin :: Tee m a b -> Tee m a b Source #

cos :: Tee m a b -> Tee m a b Source #

tan :: Tee m a b -> Tee m a b Source #

asin :: Tee m a b -> Tee m a b Source #

acos :: Tee m a b -> Tee m a b Source #

atan :: Tee m a b -> Tee m a b Source #

sinh :: Tee m a b -> Tee m a b Source #

cosh :: Tee m a b -> Tee m a b Source #

tanh :: Tee m a b -> Tee m a b Source #

asinh :: Tee m a b -> Tee m a b Source #

acosh :: Tee m a b -> Tee m a b Source #

atanh :: Tee m a b -> Tee m a b Source #

log1p :: Tee m a b -> Tee m a b Source #

expm1 :: Tee m a b -> Tee m a b Source #

log1pexp :: Tee m a b -> Tee m a b Source #

log1mexp :: Tee m a b -> Tee m a b Source #

(Monad m, Num b) => Num (Tee m a b) 
Instance details

Defined in Streamly.Internal.Data.Fold.Tee

Methods

(+) :: Tee m a b -> Tee m a b -> Tee m a b Source #

(-) :: Tee m a b -> Tee m a b -> Tee m a b Source #

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

negate :: Tee m a b -> Tee m a b Source #

abs :: Tee m a b -> Tee m a b Source #

signum :: Tee m a b -> Tee m a b Source #

fromInteger :: Integer -> Tee m a b Source #

(Monad m, Fractional b) => Fractional (Tee m a b) 
Instance details

Defined in Streamly.Internal.Data.Fold.Tee

Methods

(/) :: Tee m a b -> Tee m a b -> Tee m a b Source #

recip :: Tee m a b -> Tee m a b Source #

fromRational :: Rational -> Tee m a b Source #

toFold :: forall (m :: Type -> Type) a b. Tee m a b -> Fold m a b #