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

fix: support go iterators and cleanup types

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
Dr. Carsten Leue
2025-11-14 12:56:12 +01:00
parent 17eb8ae66f
commit 2c1d8196b4
52 changed files with 1869 additions and 215 deletions

View File

@@ -21,6 +21,6 @@ import (
// DropWhile creates an [Iterator] that drops elements from the [Iterator] as long as the predicate is true; afterwards, returns every element.
// Note, the [Iterator] does not produce any output until the predicate first becomes false
func DropWhile[U any](pred func(U) bool) Kleisli[Iterator[U], U] {
func DropWhile[U any](pred Predicate[U]) Operator[U, U] {
return G.DropWhile[Iterator[U]](pred)
}