ComonadTrans

public protocol ComonadTrans

The ComonadTrans type class represents Comonad Transformers.

  • Obtains the comonadic value contained in the provided comonad transformer.

    Declaration

    Swift

    static func lower<W, A, B>(_ twa: Kind<Self, B>) -> Kind<W, A> where W : Comonad, B : Kind<W, A>

    Parameters

    twa

    Value containing another comonadic value.

    Return Value

    Contained comonadic value within the transformer.