README.md
# gens
[](https://hex.pm/packages/gens)
[](https://hexdocs.pm/gens/)
Gleam generators for lazy infinite lists!
```sh
gleam add gens@1
```
```gleam
import gleam/int
import gens
pub fn main() -> Nil {
gens.new()
|> gens.map(fn(x) { x + 3 })
|> gens.filter(fn(x) {x % 2 != 0 })
|> gens.map(int.to_string)
|> gen(5)
|> echo
// -> ["3", "5", "7", "9", "11"]
}
```