We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1946d56 commit bd9a05aCopy full SHA for bd9a05a
Sources/Overture/Concat.swift
@@ -87,7 +87,7 @@ public func concat<A>(
87
/// - Note: This function is commonly seen in operator form as `<>`.
88
public func concat<A: AnyObject>(
89
_ fs: ((A) -> Void)...,
90
- and fz: @escaping (_ a: A) -> Void
+ and fz: @escaping (_ a: A) -> Void = { _ in }
91
)
92
-> (A) -> Void {
93
@@ -107,7 +107,7 @@ public func concat<A: AnyObject>(
107
108
109
_ fs: ((A) throws -> Void)...,
110
- and fz: @escaping (_ a: A) throws -> Void
+ and fz: @escaping (_ a: A) throws -> Void = { _ in }
111
112
-> (A) throws -> Void {
113
0 commit comments