1
0
mirror of https://github.com/IBM/fp-go.git synced 2025-11-23 22:14:53 +02:00

fix: simplify type hints

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
Dr. Carsten Leue
2025-11-11 15:24:45 +01:00
parent a4e790ac3d
commit 4f8a557072
112 changed files with 355 additions and 356 deletions

View File

@@ -79,7 +79,7 @@ func BenchmarkMapThenFilter(b *testing.B) {
benchResult = F.Pipe2(
data,
A.Filter(isPrime),
A.Map(N.Div[int](2)),
A.Map(N.Div(2)),
)
}
})
@@ -100,7 +100,7 @@ func BenchmarkMapThenFilter(b *testing.B) {
benchResult = F.Pipe2(
data,
A.Filter(isEven),
A.Map(N.Div[int](2)),
A.Map(N.Div(2)),
)
}
})
@@ -131,7 +131,7 @@ func BenchmarkFilterMap(b *testing.B) {
data,
A.FilterMap(F.Flow2(
O.FromPredicate(isPrime),
O.Map(N.Div[int](2)),
O.Map(N.Div(2)),
)),
)
}
@@ -155,7 +155,7 @@ func BenchmarkFilterMap(b *testing.B) {
data,
A.FilterMap(F.Flow2(
O.FromPredicate(isEven),
O.Map(N.Div[int](2)),
O.Map(N.Div(2)),
)),
)
}