Skip to content

Commit

Permalink
fixed compose visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
glebfann committed Jul 10, 2024
1 parent 0a69ddc commit 49d203d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Sources/compose.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public func compose<Arg1, Arg2, Arg3>(
}

@inlinable @inline(__always)
func compose<Arg1, Arg2, Arg3, Arg4>(
public func compose<Arg1, Arg2, Arg3, Arg4>(
_ f1: @escaping (Arg1) -> Arg2,
_ f2: @escaping (Arg2) -> Arg3,
_ f3: @escaping (Arg3) -> Arg4
Expand All @@ -46,7 +46,7 @@ func compose<Arg1, Arg2, Arg3, Arg4>(
}

@inlinable @inline(__always)
func compose<Arg1, Arg2, Arg3, Arg4, Arg5>(
public func compose<Arg1, Arg2, Arg3, Arg4, Arg5>(
_ f1: @escaping (Arg1) -> Arg2,
_ f2: @escaping (Arg2) -> Arg3,
_ f3: @escaping (Arg3) -> Arg4,
Expand Down Expand Up @@ -82,7 +82,7 @@ public func compose<Arg1, Arg2, Arg3>(
}

@inlinable @inline(__always)
func compose<Arg1, Arg2, Arg3, Arg4>(
public func compose<Arg1, Arg2, Arg3, Arg4>(
_ f1: @escaping (Arg1) throws -> Arg2,
_ f2: @escaping (Arg2) -> Arg3,
_ f3: @escaping (Arg3) -> Arg4
Expand All @@ -91,7 +91,7 @@ func compose<Arg1, Arg2, Arg3, Arg4>(
}

@inlinable @inline(__always)
func compose<Arg1, Arg2, Arg3, Arg4>(
public func compose<Arg1, Arg2, Arg3, Arg4>(
_ f1: @escaping (Arg1) -> Arg2,
_ f2: @escaping (Arg2) throws -> Arg3,
_ f3: @escaping (Arg3) -> Arg4
Expand All @@ -100,7 +100,7 @@ func compose<Arg1, Arg2, Arg3, Arg4>(
}

@inlinable @inline(__always)
func compose<Arg1, Arg2, Arg3, Arg4>(
public func compose<Arg1, Arg2, Arg3, Arg4>(
_ f1: @escaping (Arg1) -> Arg2,
_ f2: @escaping (Arg2) -> Arg3,
_ f3: @escaping (Arg3) throws -> Arg4
Expand All @@ -109,7 +109,7 @@ func compose<Arg1, Arg2, Arg3, Arg4>(
}

@inlinable @inline(__always)
func compose<Arg1, Arg2, Arg3, Arg4>(
public func compose<Arg1, Arg2, Arg3, Arg4>(
_ f1: @escaping (Arg1) throws -> Arg2,
_ f2: @escaping (Arg2) throws -> Arg3,
_ f3: @escaping (Arg3) -> Arg4
Expand All @@ -118,7 +118,7 @@ func compose<Arg1, Arg2, Arg3, Arg4>(
}

@inlinable @inline(__always)
func compose<Arg1, Arg2, Arg3, Arg4>(
public func compose<Arg1, Arg2, Arg3, Arg4>(
_ f1: @escaping (Arg1) throws -> Arg2,
_ f2: @escaping (Arg2) -> Arg3,
_ f3: @escaping (Arg3) throws -> Arg4
Expand All @@ -127,7 +127,7 @@ func compose<Arg1, Arg2, Arg3, Arg4>(
}

@inlinable @inline(__always)
func compose<Arg1, Arg2, Arg3, Arg4>(
public func compose<Arg1, Arg2, Arg3, Arg4>(
_ f1: @escaping (Arg1) -> Arg2,
_ f2: @escaping (Arg2) throws -> Arg3,
_ f3: @escaping (Arg3) throws -> Arg4
Expand All @@ -136,7 +136,7 @@ func compose<Arg1, Arg2, Arg3, Arg4>(
}

@inlinable @inline(__always)
func compose<Arg1, Arg2, Arg3, Arg4>(
public func compose<Arg1, Arg2, Arg3, Arg4>(
_ f1: @escaping (Arg1) throws -> Arg2,
_ f2: @escaping (Arg2) throws -> Arg3,
_ f3: @escaping (Arg3) throws -> Arg4
Expand Down

0 comments on commit 49d203d

Please sign in to comment.