supply-next-0.0.1.2: Supply-chain interface for basic streaming
Safe HaskellSafe-Inferred
LanguageGHC2021

Next.Stream.Type

Contents

Synopsis

Type

newtype Stream action item Source #

Constructors

Stream 

Fields

Instances

Instances details
Applicative (Stream action) Source # 
Instance details

Defined in Next.Stream.Type

Methods

pure :: a -> Stream action a #

(<*>) :: Stream action (a -> b) -> Stream action a -> Stream action b #

liftA2 :: (a -> b -> c) -> Stream action a -> Stream action b -> Stream action c #

(*>) :: Stream action a -> Stream action b -> Stream action b #

(<*) :: Stream action a -> Stream action b -> Stream action a #

Functor (Stream action) Source # 
Instance details

Defined in Next.Stream.Type

Methods

fmap :: (a -> b) -> Stream action a -> Stream action b #

(<$) :: a -> Stream action b -> Stream action a #

Monad (Stream action) Source # 
Instance details

Defined in Next.Stream.Type

Methods

(>>=) :: Stream action a -> (a -> Stream action b) -> Stream action b #

(>>) :: Stream action a -> Stream action b -> Stream action b #

return :: a -> Stream action a #

Monoid (Stream action item) Source # 
Instance details

Defined in Next.Stream.Type

Methods

mempty :: Stream action item #

mappend :: Stream action item -> Stream action item -> Stream action item #

mconcat :: [Stream action item] -> Stream action item #

Semigroup (Stream action item) Source # 
Instance details

Defined in Next.Stream.Type

Methods

(<>) :: Stream action item -> Stream action item -> Stream action item #

sconcat :: NonEmpty (Stream action item) -> Stream action item #

stimes :: Integral b => b -> Stream action item -> Stream action item #