Skip to content

Commit

Permalink
Add default to AnyObject concat (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored Apr 27, 2018
1 parent 1946d56 commit bd9a05a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Overture/Concat.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public func concat<A>(
/// - Note: This function is commonly seen in operator form as `<>`.
public func concat<A: AnyObject>(
_ fs: ((A) -> Void)...,
and fz: @escaping (_ a: A) -> Void
and fz: @escaping (_ a: A) -> Void = { _ in }
)
-> (A) -> Void {

Expand All @@ -107,7 +107,7 @@ public func concat<A: AnyObject>(
/// - Note: This function is commonly seen in operator form as `<>`.
public func concat<A: AnyObject>(
_ fs: ((A) throws -> Void)...,
and fz: @escaping (_ a: A) throws -> Void
and fz: @escaping (_ a: A) throws -> Void = { _ in }
)
-> (A) throws -> Void {

Expand Down

0 comments on commit bd9a05a

Please sign in to comment.