Open utterances-bot opened 12 months ago
Foldr can work on infinite list, whereas foldl don't, lets dive into why that's the case
https://elbauldelprogramador.com/org-posts/foldr-infinite-list-haskell.html
Just recently started my Haskell journey - and had the exact same question, when reading LYAH book. Thank you for your post! Very much appreciated!
Understanding why foldr works on infinite list on Haskell
Foldr can work on infinite list, whereas foldl don't, lets dive into why that's the case
https://elbauldelprogramador.com/org-posts/foldr-infinite-list-haskell.html