The downside is that most programmers eventually end up using it wrongly (e.g. lazy IO) or when it’s not necessary and thus creating an unordinate amount of garbage for the GC to collect (as mentioned in the discussion you linked to).
dbuenzli
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Seq vs List, optimization | 26 | 5155 | December 9, 2020 | |
| Why don't we use lazy lists in OCaml? | 9 | 708 | January 24, 2025 | |
| Recommended patterns and techniques for Seqs (especially when memoized) | 13 | 566 | January 27, 2025 | |
| Sequences: two schools of thought? | 30 | 1531 | March 9, 2024 | |
| Module 'Stream' removed from 5.0 standard library? | 62 | 4240 | August 3, 2022 |