Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> For example, when using FP in other languages I worry about how the functions I stack together to evaluate lists are implemented.

I'm only speaking for languages I know:

- C# LINQ API via IEnumerable<T> is lazy (aside from a few like Min/Max)

- F# is lazy for any Seq functions or the Lazy() computation

- Clojure is lazy for Sequence functions

You can verify all three by looking at the source on Github if you'd like.



A big loser here (in my opinion) is Kotlin, whose equivalent of LINQ doesn't support deferred evaluation




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: