Build Information
Successful build of PaversFRP, reference 1.0.0 (261322), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 09:55:01 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/keithpitsui/paversfrp.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/keithpitsui/paversfrp
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 261322b initialization
Cloned https://github.com/keithpitsui/paversfrp.git
Revision (git rev-parse @):
261322b29ab6bba1ca46a6e6ca8ccdbf1127fd40
SUCCESS checkout https://github.com/keithpitsui/paversfrp.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "paversfrp",
"name": "PaversFRP",
"url": "https://github.com/keithpitsui/paversfrp.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/paversfrp",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/keithpitsui/paversfrp.git
[1/135] Fetching paversfrp
Fetched https://github.com/keithpitsui/paversfrp.git from cache (0.69s)
Creating working copy for https://github.com/keithpitsui/paversfrp.git
Working copy of https://github.com/keithpitsui/paversfrp.git resolved at 1.0.0 (261322b)
warning: '.resolve-product-dependencies': dependency 'paversfrp' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/keithpitsui/paversfrp.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/47] Emitting module PaversFRP
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[4/51] Compiling PaversFRP LensHolder.swift
[5/51] Compiling PaversFRP Optional+Alternative.swift
[6/51] Compiling PaversFRP Optional+Applicative.swift
[7/51] Compiling PaversFRP Optional+Functor.swift
[8/51] Compiling PaversFRP Optional+Monad.swift
[9/51] Compiling PaversFRP Array+Alternative.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
[10/51] Compiling PaversFRP Array+Applicative.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
[11/51] Compiling PaversFRP Array+Functor.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
[12/51] Compiling PaversFRP Array+Monad.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
[13/51] Compiling PaversFRP Array.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
[14/51] Compiling PaversFRP Optional.swift
[15/51] Compiling PaversFRP Pair.swift
[16/51] Compiling PaversFRP Tuple.swift
[17/51] Compiling PaversFRP Unit.swift
[18/51] Compiling PaversFRP Set+CartesianProduct.swift
[19/51] Compiling PaversFRP NumericType.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[20/51] Compiling PaversFRP OptionalType.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[21/51] Compiling PaversFRP ResultProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[22/51] Compiling PaversFRP Semigroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[23/51] Compiling PaversFRP VectorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[24/51] Compiling PaversFRP Set+Monoid.swift
[25/51] Compiling PaversFRP State+Functor.swift
[26/51] Compiling PaversFRP State+Monad.swift
[27/51] Compiling PaversFRP State.swift
[28/51] Compiling PaversFRP String.swift
[29/51] Compiling PaversFRP EitherType.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[30/51] Compiling PaversFRP Enumerable.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[31/51] Compiling PaversFRP LensObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[32/51] Compiling PaversFRP Monoid.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[33/51] Compiling PaversFRP NonEmptyType.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[34/51] Compiling PaversFRP SomeError.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[35/51] Compiling PaversFRP Comparable.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[36/51] Compiling PaversFRP Function.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[37/51] Compiling PaversFRP Unpack.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[38/51] Compiling PaversFRP Lens.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[39/51] Compiling PaversFRP Bool.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Empty.swift:7:3: warning: will never be executed
4 |
5 | extension Empty : Equatable {}
6 | public func == (lhs: Empty, rhs: Empty) -> Bool {
| `- note: 'lhs' is of type 'Empty' which cannot be constructed because it is an enum with no cases
7 | return true
| `- warning: will never be executed
8 | }
9 |
[40/51] Compiling PaversFRP Either.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Empty.swift:7:3: warning: will never be executed
4 |
5 | extension Empty : Equatable {}
6 | public func == (lhs: Empty, rhs: Empty) -> Bool {
| `- note: 'lhs' is of type 'Empty' which cannot be constructed because it is an enum with no cases
7 | return true
| `- warning: will never be executed
8 | }
9 |
[41/51] Compiling PaversFRP Empty.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Empty.swift:7:3: warning: will never be executed
4 |
5 | extension Empty : Equatable {}
6 | public func == (lhs: Empty, rhs: Empty) -> Bool {
| `- note: 'lhs' is of type 'Empty' which cannot be constructed because it is an enum with no cases
7 | return true
| `- warning: will never be executed
8 | }
9 |
[42/51] Compiling PaversFRP Ordering.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Empty.swift:7:3: warning: will never be executed
4 |
5 | extension Empty : Equatable {}
6 | public func == (lhs: Empty, rhs: Empty) -> Bool {
| `- note: 'lhs' is of type 'Empty' which cannot be constructed because it is an enum with no cases
7 | return true
| `- warning: will never be executed
8 | }
9 |
[43/51] Compiling PaversFRP NonEmpties.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[44/51] Compiling PaversFRP Comparator.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[45/51] Compiling PaversFRP Dictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[46/51] Compiling PaversFRP AnyError.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[47/51] Compiling PaversFRP NoError.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[48/51] Compiling PaversFRP Result.swift
[49/51] Compiling PaversFRP Value+NumericType.swift
[50/51] Compiling PaversFRP Curry.swift
[51/51] Compiling PaversFRP Runes.swift
Build complete! (53.10s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "PaversFRP",
"name" : "PaversFRP",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PaversFRP",
"targets" : [
"PaversFRP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PaversFRPTests",
"module_type" : "SwiftTarget",
"name" : "PaversFRPTests",
"path" : "Tests/PaversFRPTests",
"sources" : [
"PaversFRPTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"PaversFRP"
],
"type" : "test"
},
{
"c99name" : "PaversFRP",
"module_type" : "SwiftTarget",
"name" : "PaversFRP",
"path" : "Sources/PaversFRP",
"product_memberships" : [
"PaversFRP"
],
"sources" : [
"Protocols/EitherType.swift",
"Protocols/Enumerable.swift",
"Protocols/LensObject.swift",
"Protocols/Monoid.swift",
"Protocols/NonEmptyType.swift",
"Protocols/NumericType.swift",
"Protocols/OptionalType.swift",
"Protocols/ResultProtocol.swift",
"Protocols/Semigroup.swift",
"Protocols/VectorType.swift",
"Types/Array/Array+Alternative.swift",
"Types/Array/Array+Applicative.swift",
"Types/Array/Array+Functor.swift",
"Types/Array/Array+Monad.swift",
"Types/Array/Array.swift",
"Types/Array/NonEmpties.swift",
"Types/Comparator.swift",
"Types/Dictionary.swift",
"Types/Error/AnyError.swift",
"Types/Error/NoError.swift",
"Types/Error/SomeError.swift",
"Types/Exponentials/Comparable.swift",
"Types/Exponentials/Function.swift",
"Types/Exponentials/Unpack.swift",
"Types/Lens/Lens.swift",
"Types/Lens/LensHolder.swift",
"Types/Optional/Optional+Alternative.swift",
"Types/Optional/Optional+Applicative.swift",
"Types/Optional/Optional+Functor.swift",
"Types/Optional/Optional+Monad.swift",
"Types/Optional/Optional.swift",
"Types/ProductType/Pair.swift",
"Types/ProductType/Tuple.swift",
"Types/ProductType/Unit.swift",
"Types/Set/Set+CartesianProduct.swift",
"Types/Set/Set+Monoid.swift",
"Types/State/State+Functor.swift",
"Types/State/State+Monad.swift",
"Types/State/State.swift",
"Types/String.swift",
"Types/SumType/Bool.swift",
"Types/SumType/Either.swift",
"Types/SumType/Empty.swift",
"Types/SumType/Ordering.swift",
"Types/SumType/Result.swift",
"Types/Value/Value+NumericType.swift",
"Utilities/Curry.swift",
"Utilities/Runes.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.