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

"So the really cool thing about monads is that you can add new behavior to functions without implementation details leaking during composition!

The cool thing about lenses is that they enable getters/setters for things like entries in a hashmap or all string fields in a struct at once."

Good reply. Yeah, I definitely see these as beneficial.



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: