Comonad

public protocol Comonad : Functor

Undocumented

  • Undocumented

    Declaration

    Swift

    static func coflatMap<A, B>(_ fa: Kind<Self, A>, _ f: @escaping (Kind<Self, A>) -> B) -> Kind<Self, B>
  • Undocumented

    Declaration

    Swift

    static func extract<A>(_ fa: Kind<Self, A>) -> A
  • duplicate(_:) Extension method

    Undocumented

    Declaration

    Swift

    public static func duplicate<A>(_ fa: Kind<Self, A>) -> Kind<Self, Kind<Self, A>>