Documentation
¶
Index ¶
- func ForEach[T any](seq Seq[T], f func(T) error) error
- type Seq
- func DropWhile[T any](seq Seq[T], f func(T) bool) Seq[T]
- func Filter[T any](seq Seq[T], f func(T) bool) Seq[T]
- func From[T any](xs T) Seq[T]
- func FromSlice[T any](xs []T) Seq[T]
- func Join[A, B any](lhs Seq[A], rhs func(A) Seq[B]) Seq[B]
- func Map[A, B any](seq Seq[A], f func(A) B) Seq[B]
- func Plus[T any](lhs, rhs Seq[T]) Seq[T]
- func TakeWhile[T any](seq Seq[T], f func(T) bool) Seq[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Seq ¶
Generic Sequence
seq := createSeq()
for has := seq != nil; has; has = seq.Next() {
seq.Value()
}
Click to show internal directories.
Click to hide internal directories.