Cokleisli

public class Cokleisli<F, A, B> : CokleisliOf<F, A, B>

Undocumented

  • Undocumented

    Declaration

    Swift

    public static func fix(_ fa: Kind<CokleisliPartial<F, A>, B>) -> Cokleisli<F, A, B>
  • Undocumented

    Declaration

    Swift

    public init(_ run: @escaping (Kind<F, A>) -> B)
  • Undocumented

    Declaration

    Swift

    public func contramapValue<C>(_ f: @escaping (Kind<F, C>) -> Kind<F, A>) -> Cokleisli<F, C, B>
  • Undocumented

    Declaration

    Swift

    public static func ask() -> Cokleisli<F, B, B>
  • Undocumented

    Declaration

    Swift

    public func bimap<C, D>(_ g: @escaping (D) -> A, _ f : @escaping (B) -> C) -> Cokleisli<F, D, C>
  • Undocumented

    Declaration

    Swift

    public func lmap<D>(_ g: @escaping (D) -> A) -> Cokleisli<F, D, B>
  • Undocumented

    Declaration

    Swift

    public func compose<D>(_ a: Cokleisli<F, D, A>) -> Cokleisli<F, D, B>
  • Undocumented

    Declaration

    Swift

    public func andThen<C>(_ a: Kind<F, C>) -> Cokleisli<F, A, C>
  • Undocumented

    Declaration

    Swift

    public func andThen<C>(_ a: Cokleisli<F, B, C>) -> Cokleisli<F, A, C>