Hacker News new | past | comments | ask | show | jobs | submit login

See, iterators [edit: and “yield” in general] feel Haskelly to me.

Then again I can only understand key Haskell concepts when they’re explained using any of several other languages (then they’re typically very easy to understand) so maybe I’m not the best judge of what is or is not Haskell-like.




Kinda funny, given that the Haskell iterator solution is "convert your data to be a list, and the optimizer and RTS will do the right thing as if it were an iterator."




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: