cat/instances/types

Types

Phantom type for the function profunctor.

pub type ArrowPro

Bifunctor composition type.

newtype BiComp bf fu gu a b = BiComp (bf (fu a ) (gu b))
pub type BiComp(bf, fu, gu, a, b, fua, gub, bifgab) {
  BiComp(bifgab)
}

Constructors

  • BiComp(bifgab)

Phantom type for bifunctor composition.

pub type BiCompF(bf, fu, gu)

Phantom type for Const Functor.
We bind the first parameter of Const.

pub type ConstF(c)

Phantom type for Either Bifunctor.

pub type EitherBF

Phantom type for Either Functor.

pub type EitherF(a)

Phantom type for Function Functor.

pub type FunctionF(r)
pub type IdentityF

Phantom type for List Functor.

pub type ListF

Phantom type for Op Contravariant.

pub type OpC(r)

Phantom type for Option Functor.

pub type OptionF

Phantom type for Pair Bifunctor.

pub type PairBF

Phantom type for Pair Functor.

pub type PairF(a)

Phantom type for Reader Functor.

pub type ReaderF(r)

Phantom type for Result Functor.

pub type ResultF(a)

Phantom type for the state monad.

pub type StateM(s)

Phantom type for Triple Functor.

pub type TripleF(a, b)

Phantom type for Tuple Bifunctor.

pub type TupleBF

Phantom type for Tuple Functor.

pub type TupleF(a)

Phantom type for Writer Functor.

pub type WriterF
Search Document