Functions

The following functions are available globally.

  • bind argument to function. Type: 1 onto 1

    See more

    Declaration

    Swift

    public func =<< <A,R>(_ function: @escaping (A) throws -> R, _ arg: A) -> () throws -> R
  • bind argument to function. Type: 1 onto 1

    See more

    Declaration

    Swift

    public func =<< <A,R>(_ function: @escaping (A) -> R, _ arg: A) -> () -> R
  • bind argument to function. Type: 1 onto 2

    See more

    Declaration

    Swift

    public func =<< <A,B,R>(_ function: @escaping (A,B) throws -> R, _ arg: A) -> (B) throws -> R
  • bind argument to function. Type: 1 onto 2

    See more

    Declaration

    Swift

    public func =<< <A,B,R>(_ function: @escaping (A,B) -> R, _ arg: A) -> (B) -> R
  • bind argument to function. Type: 2 onto 2

    See more

    Declaration

    Swift

    public func =<< <A,B,R>(_ function: @escaping (A,B) throws -> R, _ arg: B) -> (A) throws -> R
  • bind argument to function. Type: 2 onto 2

    See more

    Declaration

    Swift

    public func =<< <A,B,R>(_ function: @escaping (A,B) -> R, _ arg: B) -> (A) -> R
  • bind argument to function. Type: instance curried 1 onto 2

    See more

    Declaration

    Swift

    public func =<< <A,B,R>(_ function: @escaping (A)->(B) throws -> R, _ arg: B) -> (A) throws -> R
  • bind argument to function. Type: instance curried 1 onto 2

    See more

    Declaration

    Swift

    public func =<< <A,B,R>(_ function: @escaping (A)->(B) -> R, _ arg: B) -> (A) -> R
  • bind argument to function. Type: 1 onto 2

    See more

    Declaration

    Swift

    public func =<< <A,R>(_ function: @escaping (A,A) throws -> R, _ arg: A) -> (A) throws -> R
  • bind argument to function. Type: 1 onto 2

    See more

    Declaration

    Swift

    public func =<< <A,R>(_ function: @escaping (A,A) -> R, _ arg: A) -> (A) -> R
  • bind argument to function. Type: 1 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,C,R>(_ function: @escaping (A,A,C) throws -> R, _ arg: A) -> (A,C) throws -> R
  • bind argument to function. Type: 1 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,C,R>(_ function: @escaping (A,A,C) -> R, _ arg: A) -> (A,C) -> R
  • bind argument to function. Type: 1 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,B,C,R>(_ function: @escaping (A,B,C) throws -> R, _ arg: A) -> (B,C) throws -> R
  • bind argument to function. Type: 1 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,B,C,R>(_ function: @escaping (A,B,C) -> R, _ arg: A) -> (B,C) -> R
  • bind argument to function. Type: 2 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,B,C,R>(_ function: @escaping (A,B,C) throws -> R, _ arg: B) -> (A,C) throws -> R
  • bind argument to function. Type: 2 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,B,C,R>(_ function: @escaping (A,B,C) -> R, _ arg: B) -> (A,C) -> R
  • bind argument to function. Type: instance curried 1 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,B,C,R>(_ function: @escaping (A)->(B,C) throws -> R, _ arg: B) -> (A,C) throws -> R
  • bind argument to function. Type: instance curried 1 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,B,C,R>(_ function: @escaping (A)->(B,C) -> R, _ arg: B) -> (A,C) -> R
  • bind argument to function. Type: 3 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,B,C,R>(_ function: @escaping (A,B,C) throws -> R, _ arg: C) -> (A,B) throws -> R
  • bind argument to function. Type: 3 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,B,C,R>(_ function: @escaping (A,B,C) -> R, _ arg: C) -> (A,B) -> R
  • bind argument to function. Type: instance curried 2 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,B,C,R>(_ function: @escaping (A)->(B,C) throws -> R, _ arg: C) -> (A,B) throws -> R
  • bind argument to function. Type: instance curried 2 onto 3

    See more

    Declaration

    Swift

    public func =<< <A,B,C,R>(_ function: @escaping (A)->(B,C) -> R, _ arg: C) -> (A,B) -> R
  • bind argument to function. Type: 1 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A,B,C,D) throws -> R, _ arg: A) -> (B,C,D) throws -> R
  • bind argument to function. Type: 1 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A,B,C,D) -> R, _ arg: A) -> (B,C,D) -> R
  • bind argument to function. Type: 2 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A,B,C,D) throws -> R, _ arg: B) -> (A,C,D) throws -> R
  • bind argument to function. Type: 2 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A,B,C,D) -> R, _ arg: B) -> (A,C,D) -> R
  • bind argument to function. Type: instance curried 1 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) throws -> R, _ arg: B) -> (A,C,D) throws -> R
  • bind argument to function. Type: instance curried 1 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) -> R, _ arg: B) -> (A,C,D) -> R
  • bind argument to function. Type: 3 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A,B,C,D) throws -> R, _ arg: C) -> (A,B,D) throws -> R
  • bind argument to function. Type: 3 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A,B,C,D) -> R, _ arg: C) -> (A,B,D) -> R
  • bind argument to function. Type: instance curried 2 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) throws -> R, _ arg: C) -> (A,B,D) throws -> R
  • bind argument to function. Type: instance curried 2 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) -> R, _ arg: C) -> (A,B,D) -> R
  • bind argument to function. Type: 4 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A,B,C,D) throws -> R, _ arg: D) -> (A,B,C) throws -> R
  • bind argument to function. Type: 4 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A,B,C,D) -> R, _ arg: D) -> (A,B,C) -> R
  • bind argument to function. Type: instance curried 3 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) throws -> R, _ arg: D) -> (A,B,C) throws -> R
  • bind argument to function. Type: instance curried 3 onto 4

    See more

    Declaration

    Swift

    public func =<< <A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) -> R, _ arg: D) -> (A,B,C) -> R
  • Generated bind (partial apply) functions. bind argument to function. Type: 1 onto 1

    See more

    Declaration

    Swift

    public func bind<A,R>(_ function: @escaping (A) throws -> R, _ arg: A) -> () throws -> R
  • bind argument to function. Type: 1 onto 1

    See more

    Declaration

    Swift

    public func bind<A,R>(_ function: @escaping (A) -> R, _ arg: A) -> () -> R
  • bind argument to function. Type: 1 onto 2

    See more

    Declaration

    Swift

    public func bind<A,B,R>(_ function: @escaping (A,B) throws -> R, _ arg: A) -> (B) throws -> R
  • bind argument to function. Type: 1 onto 2

    See more

    Declaration

    Swift

    public func bind<A,B,R>(_ function: @escaping (A,B) -> R, _ arg: A) -> (B) -> R
  • bind argument to function. Type: 2 onto 2

    See more

    Declaration

    Swift

    public func bind<A,B,R>(_ function: @escaping (A,B) throws -> R, _ arg: B) -> (A) throws -> R
  • bind argument to function. Type: 2 onto 2

    See more

    Declaration

    Swift

    public func bind<A,B,R>(_ function: @escaping (A,B) -> R, _ arg: B) -> (A) -> R
  • bind argument to function. Type: instance curried 1 onto 2

    See more

    Declaration

    Swift

    public func bind<A,B,R>(_ function: @escaping (A)->(B) throws -> R, _ arg: B) -> (A) throws -> R
  • bind argument to function. Type: instance curried 1 onto 2

    See more

    Declaration

    Swift

    public func bind<A,B,R>(_ function: @escaping (A)->(B) -> R, _ arg: B) -> (A) -> R
  • bind argument to function. Type: 1 onto 2

    See more

    Declaration

    Swift

    public func bind<A,R>(_ function: @escaping (A,A) throws -> R, _ arg: A) -> (A) throws -> R
  • bind argument to function. Type: 1 onto 2

    See more

    Declaration

    Swift

    public func bind<A,R>(_ function: @escaping (A,A) -> R, _ arg: A) -> (A) -> R
  • bind argument to function. Type: 1 onto 3

    See more

    Declaration

    Swift

    public func bind<A,C,R>(_ function: @escaping (A,A,C) throws -> R, _ arg: A) -> (A,C) throws -> R
  • bind argument to function. Type: 1 onto 3

    See more

    Declaration

    Swift

    public func bind<A,C,R>(_ function: @escaping (A,A,C) -> R, _ arg: A) -> (A,C) -> R
  • bind argument to function. Type: 1 onto 3

    See more

    Declaration

    Swift

    public func bind<A,B,C,R>(_ function: @escaping (A,B,C) throws -> R, _ arg: A) -> (B,C) throws -> R
  • bind argument to function. Type: 1 onto 3

    See more

    Declaration

    Swift

    public func bind<A,B,C,R>(_ function: @escaping (A,B,C) -> R, _ arg: A) -> (B,C) -> R
  • bind argument to function. Type: 2 onto 3

    See more

    Declaration

    Swift

    public func bind<A,B,C,R>(_ function: @escaping (A,B,C) throws -> R, _ arg: B) -> (A,C) throws -> R
  • bind argument to function. Type: 2 onto 3

    See more

    Declaration

    Swift

    public func bind<A,B,C,R>(_ function: @escaping (A,B,C) -> R, _ arg: B) -> (A,C) -> R
  • bind argument to function. Type: instance curried 1 onto 3

    See more

    Declaration

    Swift

    public func bind<A,B,C,R>(_ function: @escaping (A)->(B,C) throws -> R, _ arg: B) -> (A,C) throws -> R
  • bind argument to function. Type: instance curried 1 onto 3

    See more

    Declaration

    Swift

    public func bind<A,B,C,R>(_ function: @escaping (A)->(B,C) -> R, _ arg: B) -> (A,C) -> R
  • bind argument to function. Type: 3 onto 3

    See more

    Declaration

    Swift

    public func bind<A,B,C,R>(_ function: @escaping (A,B,C) throws -> R, _ arg: C) -> (A,B) throws -> R
  • bind argument to function. Type: 3 onto 3

    See more

    Declaration

    Swift

    public func bind<A,B,C,R>(_ function: @escaping (A,B,C) -> R, _ arg: C) -> (A,B) -> R
  • bind argument to function. Type: instance curried 2 onto 3

    See more

    Declaration

    Swift

    public func bind<A,B,C,R>(_ function: @escaping (A)->(B,C) throws -> R, _ arg: C) -> (A,B) throws -> R
  • bind argument to function. Type: instance curried 2 onto 3

    See more

    Declaration

    Swift

    public func bind<A,B,C,R>(_ function: @escaping (A)->(B,C) -> R, _ arg: C) -> (A,B) -> R
  • bind argument to function. Type: 1 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A,B,C,D) throws -> R, _ arg: A) -> (B,C,D) throws -> R
  • bind argument to function. Type: 1 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A,B,C,D) -> R, _ arg: A) -> (B,C,D) -> R
  • bind argument to function. Type: 2 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A,B,C,D) throws -> R, _ arg: B) -> (A,C,D) throws -> R
  • bind argument to function. Type: 2 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A,B,C,D) -> R, _ arg: B) -> (A,C,D) -> R
  • bind argument to function. Type: instance curried 1 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) throws -> R, _ arg: B) -> (A,C,D) throws -> R
  • bind argument to function. Type: instance curried 1 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) -> R, _ arg: B) -> (A,C,D) -> R
  • bind argument to function. Type: 3 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A,B,C,D) throws -> R, _ arg: C) -> (A,B,D) throws -> R
  • bind argument to function. Type: 3 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A,B,C,D) -> R, _ arg: C) -> (A,B,D) -> R
  • bind argument to function. Type: instance curried 2 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) throws -> R, _ arg: C) -> (A,B,D) throws -> R
  • bind argument to function. Type: instance curried 2 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) -> R, _ arg: C) -> (A,B,D) -> R
  • bind argument to function. Type: 4 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A,B,C,D) throws -> R, _ arg: D) -> (A,B,C) throws -> R
  • bind argument to function. Type: 4 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A,B,C,D) -> R, _ arg: D) -> (A,B,C) -> R
  • bind argument to function. Type: instance curried 3 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) throws -> R, _ arg: D) -> (A,B,C) throws -> R
  • bind argument to function. Type: instance curried 3 onto 4

    See more

    Declaration

    Swift

    public func bind<A,B,C,D,R>(_ function: @escaping (A)->(B,C,D) -> R, _ arg: D) -> (A,B,C) -> R