elbaulp / elbaulp.github.io

Contenido del blog El Baúl del programador usando emacs org-mode
https://elbauldelprogramador.com
4 stars 4 forks source link

Understanding why foldr works on infinite list on Haskell #61

Open utterances-bot opened 12 months ago

utterances-bot commented 12 months ago

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

JacobeanEra commented 12 months ago

Just recently started my Haskell journey - and had the exact same question, when reading LYAH book. Thank you for your post! Very much appreciated!