PSetter

public class PSetter<S, T, A, B> : PSetterOf<S, T, A, B>

Undocumented

  • Undocumented

    Declaration

    Swift

    public static func + <C, D>(lhs: PSetter<S, T, A, B>, rhs: PSetter<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public static func + <C, D>(lhs: PSetter<S, T, A, B>, rhs: POptional<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public static func + <C, D>(lhs: PSetter<S, T, A, B>, rhs: PPrism<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public static func + <C, D>(lhs: PSetter<S, T, A, B>, rhs: PLens<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public static func + <C, D>(lhs: PSetter<S, T, A, B>, rhs: PIso<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public static func + <C, D>(lhs: PSetter<S, T, A, B>, rhs: PTraversal<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public static func identity() -> Setter<S, S>
  • Undocumented

    Declaration

    Swift

    public static func codiagonal() -> Setter<Either<S, S>, S>
  • Undocumented

    Declaration

    Swift

    public static func fromFunctor<F>() -> PSetter<Kind<F, A>, Kind<F, B>, A, B> where F : Functor
  • Undocumented

    Declaration

    Swift

    public init(modify : @escaping (S, @escaping (A) -> B) -> T, set : @escaping (S, B) -> T)
  • Undocumented

    Declaration

    Swift

    public init(modify : @escaping (@escaping (A) -> B) -> (S) -> T)
  • Undocumented

    Declaration

    Swift

    public func modify(_ s : S, _ f : @escaping (A) -> B) -> T
  • Undocumented

    Declaration

    Swift

    public func set(_ s: S, _ b: B) -> T
  • Undocumented

    Declaration

    Swift

    public func choice<S1, T1>(_ other: PSetter<S1, T1, A, B>) -> PSetter<Either<S, S1>, Either<T, T1>, A, B>
  • Undocumented

    Declaration

    Swift

    public func lift(_ f : @escaping (A) -> B) -> (S) -> T
  • Undocumented

    Declaration

    Swift

    public func compose<C, D>(_ other: PSetter<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public func compose<C, D>(_ other: POptional<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public func compose<C, D>(_ other: PPrism<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public func compose<C, D>(_ other: PLens<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public func compose<C, D>(_ other: PIso<A, B, C, D>) -> PSetter<S, T, C, D>
  • Undocumented

    Declaration

    Swift

    public func compose<C, D>(_ other: PTraversal<A, B, C, D>) -> PSetter<S, T, C, D>