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

Couldn't Clojure also do lazy evaluation to get the same optimization?


I'm not sure, but I think Clojure would fully evaluate all terms until it gets the one you request. Clojure has lazy sequences, but it doesn't turn everything into thunks like Haskell.




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

Search: