Commit 233f824
authored
Unlike `chunk_by/2` and `chunk_every/2,4` (which always chunk into
sublists and are typed `[list]`), `chunk_while/4` lets the reducer emit an
arbitrary term as a chunk (`{:cont, chunk, acc}`, with `chunk: any`), so
`[chunk]` is the precise return type.
1 parent a3bfe9d commit 233f824
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | | - | |
| 621 | + | |
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
| |||
0 commit comments