diff --git a/Sources/Overture/Concat.swift b/Sources/Overture/Concat.swift index 6f9ed63..a060022 100644 --- a/Sources/Overture/Concat.swift +++ b/Sources/Overture/Concat.swift @@ -87,7 +87,7 @@ public func concat( /// - Note: This function is commonly seen in operator form as `<>`. public func concat( _ fs: ((A) -> Void)..., - and fz: @escaping (_ a: A) -> Void + and fz: @escaping (_ a: A) -> Void = { _ in } ) -> (A) -> Void { @@ -107,7 +107,7 @@ public func concat( /// - Note: This function is commonly seen in operator form as `<>`. public func concat( _ fs: ((A) throws -> Void)..., - and fz: @escaping (_ a: A) throws -> Void + and fz: @escaping (_ a: A) throws -> Void = { _ in } ) -> (A) throws -> Void {