Skip to content

v1.0

Latest

Choose a tag to compare

@siliconbrain siliconbrain released this 04 Jan 04:28
· 3 commits to master since this release

The first stable version of the library adds utilities under "github.com/siliconbrain/go-seqs/iter" for working with Go's built-in sequence types as defined by iter. This package also re-exports all types and functions from iter to be a drop-in import replacement.

seqs.Seq is redefined to be in line with semantics of iter.Seq on how yield's return value is interpreted.

Lots of new utility functions added, a handful renamed, and still a few are removed with the migration guide in the README suggesting replacements for them where possible. Sequences can now be marked as known-to-be infinite and/or possibly divergent. Support and optimizations for directly indexable sequences (like those created from slices) are now available via seqs.Indexable.