EitherTPartial

public final class EitherTPartial<F, L> : Kind2<ForEitherT, F, L>

Partial application of the EitherT type constructor, omitting the last parameter.

  • Lifts a value by nesting the contained value in the effect into an Either.right value.

    Declaration

    Swift

    public static func liftF<B>(_ fc: Kind<F, B>) -> EitherTOf<F, L, B>

    Parameters

    fc

    Value to be lifted.

    Return Value

    A right Either wrapped in the effect.

  • Declaration

    Swift

    public static func hash<A>(_ fa: EitherTOf<F, L, A>, into hasher: inout Hasher) where A : Hashable