- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IteratorFunc (0.1 sec)
-
test/typeparam/issue48602.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 414 bytes - Viewed (0) -
test/typeparam/issue48598.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 475 bytes - Viewed (0) -
test/typeparam/issue48645b.go
// license that can be found in the LICENSE file. package main type Iterator[T any] interface { Iterate(fn func(T) bool) } type IteratorFunc[T any] func(fn func(T) bool) func (f IteratorFunc[T]) Iterate(fn func(T) bool) { f(fn) } type Stream[T any] struct { it Iterator[T] } func (s Stream[T]) Iterate(fn func(T) bool) { if s.it == nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.4K bytes - Viewed (0)