From 49d203d9d903a491f930468a8f3f34bc3db9caf1 Mon Sep 17 00:00:00 2001 From: Gleb Fandeev Date: Thu, 11 Jul 2024 01:21:39 +0300 Subject: [PATCH] fixed compose visibility --- Sources/compose.swift | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Sources/compose.swift b/Sources/compose.swift index 19794dc..b6a42c0 100644 --- a/Sources/compose.swift +++ b/Sources/compose.swift @@ -37,7 +37,7 @@ public func compose( } @inlinable @inline(__always) -func compose( +public func compose( _ f1: @escaping (Arg1) -> Arg2, _ f2: @escaping (Arg2) -> Arg3, _ f3: @escaping (Arg3) -> Arg4 @@ -46,7 +46,7 @@ func compose( } @inlinable @inline(__always) -func compose( +public func compose( _ f1: @escaping (Arg1) -> Arg2, _ f2: @escaping (Arg2) -> Arg3, _ f3: @escaping (Arg3) -> Arg4, @@ -82,7 +82,7 @@ public func compose( } @inlinable @inline(__always) -func compose( +public func compose( _ f1: @escaping (Arg1) throws -> Arg2, _ f2: @escaping (Arg2) -> Arg3, _ f3: @escaping (Arg3) -> Arg4 @@ -91,7 +91,7 @@ func compose( } @inlinable @inline(__always) -func compose( +public func compose( _ f1: @escaping (Arg1) -> Arg2, _ f2: @escaping (Arg2) throws -> Arg3, _ f3: @escaping (Arg3) -> Arg4 @@ -100,7 +100,7 @@ func compose( } @inlinable @inline(__always) -func compose( +public func compose( _ f1: @escaping (Arg1) -> Arg2, _ f2: @escaping (Arg2) -> Arg3, _ f3: @escaping (Arg3) throws -> Arg4 @@ -109,7 +109,7 @@ func compose( } @inlinable @inline(__always) -func compose( +public func compose( _ f1: @escaping (Arg1) throws -> Arg2, _ f2: @escaping (Arg2) throws -> Arg3, _ f3: @escaping (Arg3) -> Arg4 @@ -118,7 +118,7 @@ func compose( } @inlinable @inline(__always) -func compose( +public func compose( _ f1: @escaping (Arg1) throws -> Arg2, _ f2: @escaping (Arg2) -> Arg3, _ f3: @escaping (Arg3) throws -> Arg4 @@ -127,7 +127,7 @@ func compose( } @inlinable @inline(__always) -func compose( +public func compose( _ f1: @escaping (Arg1) -> Arg2, _ f2: @escaping (Arg2) throws -> Arg3, _ f3: @escaping (Arg3) throws -> Arg4 @@ -136,7 +136,7 @@ func compose( } @inlinable @inline(__always) -func compose( +public func compose( _ f1: @escaping (Arg1) throws -> Arg2, _ f2: @escaping (Arg2) throws -> Arg3, _ f3: @escaping (Arg3) throws -> Arg4