Documentation
¶
Index ¶
- func ForEach[K, V any](seq Seq[K, V], f func(K, V) error) error
- func ToSeq[K1, V1, V2 any](lhs Seq[K1, V1], rhs func(K1, V1) seq.Seq[V2]) seq.Seq[V2]
- type Seq
- func DropWhile[K, V any](seq Seq[K, V], f func(K, V) bool) Seq[K, V]
- func Filter[K, V any](seq Seq[K, V], f func(K, V) bool) Seq[K, V]
- func From[K, V any](key K, val V) Seq[K, V]
- func FromSeq[K1, K2, V2 any](lhs seq.Seq[K1], rhs func(K1) Seq[K2, V2]) Seq[K2, V2]
- func Join[K1, K2, V1, V2 any](lhs Seq[K1, V1], rhs func(K1, V1) Seq[K2, V2]) Seq[K2, V2]
- func Map[K, A, B any](seq Seq[K, A], f func(K, A) B) Seq[K, B]
- func Plus[K, V any](lhs, rhs Seq[K, V]) Seq[K, V]
- func TakeWhile[K, V any](seq Seq[K, V], f func(K, V) bool) Seq[K, V]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Seq ¶
Generic Sequence of Pairs
seq := createSeq()
for has := seq != nil; has; has = seq.Next() {
seq.Value()
}
Click to show internal directories.
Click to hide internal directories.