Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sullyj3
on March 21, 2020
|
parent
|
context
|
favorite
| on:
It never makes sense to use foldl on lists in Hask...
Due to GHC's fusion, they're often not even created. They're used more like control flow constructs than arrays.
hope-striker
on March 22, 2020
[–]
Right, I mostly end up using Haskell's lists as an extremely ergonomic counterpart to iterators / generators in languages like Python and Rust.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: