rstream-0.1.0.0: stream-fusion framework from vector

Safe HaskellSafe
LanguageHaskell2010

Internal.Box

Documentation

newtype Id a Source #

Constructors

Id 

Fields

Instances
Monad Id Source # 
Instance details

Defined in Internal.Box

Methods

(>>=) :: Id a -> (a -> Id b) -> Id b #

(>>) :: Id a -> Id b -> Id b #

return :: a -> Id a #

fail :: String -> Id a #

Functor Id Source # 
Instance details

Defined in Internal.Box

Methods

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

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

Applicative Id Source # 
Instance details

Defined in Internal.Box

Methods

pure :: a -> Id a #

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

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

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

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

newtype Box a Source #

Constructors

Box 

Fields

Instances
Monad Box Source # 
Instance details

Defined in Internal.Box

Methods

(>>=) :: Box a -> (a -> Box b) -> Box b #

(>>) :: Box a -> Box b -> Box b #

return :: a -> Box a #

fail :: String -> Box a #

Functor Box Source # 
Instance details

Defined in Internal.Box

Methods

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

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

Applicative Box Source # 
Instance details

Defined in Internal.Box

Methods

pure :: a -> Box a #

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

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

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

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

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