/seq

🔁 Handy sequence iterators for Go

Primary LanguageGoMIT LicenseMIT

seq 🔁

PkgGoDev CodeFactor Build Status

Handy sequence iterator tools for Go 1.23+

Quick support for some common sequence iteration tools I needed in Go that are not in the standard library slices package as of 1.23.

Note

It seems almost certain this should already exist in an existing battle-tested module somewhere, but I didn't find one with a Google search, so it was faster to just drop this together myself than keep searching.

Operations supported:

  • Sliding window ✅