You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: v2/array/array.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ import (
21
21
"github.com/IBM/fp-go/v2/internal/array"
22
22
M "github.com/IBM/fp-go/v2/monoid"
23
23
"github.com/IBM/fp-go/v2/option"
24
-
"github.com/IBM/fp-go/v2/tuple"
24
+
"github.com/IBM/fp-go/v2/pair"
25
25
)
26
26
27
27
// From constructs an array from a set of variadic arguments
@@ -163,11 +163,11 @@ func FilterMapWithIndex[A, B any](f func(int, A) Option[B]) Operator[A, B] {
163
163
return G.FilterMapWithIndex[[]A, []B](f)
164
164
}
165
165
166
-
// FilterChain maps an array with an iterating function that returns an [Option] of an array. It keeps only the Some values discarding the Nones and then flattens the result.
166
+
// ChainOptionK maps an array with an iterating function that returns an [Option] of an array. It keeps only the Some values discarding the Nones and then flattens the result.
0 commit comments