Python-style itertools for Go
License
zephyrtronium/itertools
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Package itertools implements a number of operations on "iterators". The package defines an iterator as a receive-only channel. Functions are generated from templates for each built-in type; slices, arrays, structs, and interfaces must use the interface{} functions. For most of these functions, there is no suffix on the function name; for adapters and generators, the suffix is Any. Count, CountStartStep, Range, and Accumulate use ints. Strings are handled specially by AdaptString, GenerateString, and CycleRune. GenerateString takes a rune iterator to produce a string; the other two take strings and produce rune iterators. Use *Int32 tools on rune iterators. All code is licensed under the WTFPL. See COPYING.
About
Python-style itertools for Go
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published