Getting Started
Installation
uv add pyochain
Quick start
>>> import pyochain as pc
>>> res: pc.Seq[int] = (
... pc.Iter.from_count(1)
... .filter(lambda x: x % 2 != 0)
... .map(lambda x: x**2)
... .take(5)
... .collect()
... )
>>> res
Seq(1, 9, 25, 49, 81)
Next steps
- Core Types Overview: choose between the various provided types
- Interoperability: convert between types with various methods
- Examples & Cookbook: practical patterns and concrete examples