3 ms·
Due to GHC's fusion, they're often not even created. They're used more like control flow constructs than arrays.
by sullyj3 7y ago
Due to GHC's fusion, they're often not even created. They're used more like control flow constructs than arrays.
- hope-striker 7y agoRight, I mostly end up using Haskell's lists as an extremely ergonomic counterpart to iterators / generators in languages like Python and Rust.