Versions in this module Expand all Collapse all v0 v0.0.2 Jan 20, 2025 v0.0.1 Jan 20, 2025 Changes in this version + type Stream struct + func StreamOf[T any](slice []T) *Stream[T] + func (s *Stream[T]) AllMatch(predicate func(T) bool) bool + func (s *Stream[T]) AnyMatch(predicate func(T) bool) bool + func (s *Stream[T]) Collect() []T + func (s *Stream[T]) Count() int + func (s *Stream[T]) Distinct() *Stream[T] + func (s *Stream[T]) Filter(predicate func(T) bool) *Stream[T] + func (s *Stream[T]) ForEach(consumer func(T)) + func (s *Stream[T]) Limit(n int) *Stream[T] + func (s *Stream[T]) Map(mapper func(T) T) *Stream[T] + func (s *Stream[T]) Skip(n int) *Stream[T]