Skip to content

Commit

Permalink
README: mention lazyness
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonnal committed Jan 23, 2024
1 parent d0cd55a commit ace78d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Instantiate a `Stream` by providing a function that returns an `Iterable` (the d

## 4. apply operations

A `Stream` is ***immutable***: applying an operation returns a child stream independant from the parent.
- Applying an operation is ***lazy***: it does not compute the elements.
- A `Stream` is ***immutable***: applying an operation returns a child stream independant from the parent.

```python
odd_squares: Stream[int] = (
Expand Down

0 comments on commit ace78d3

Please sign in to comment.