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

idk, rxjs, observables, and promises seem pretty popular. Doesn't mean it makes sense to try to write all your js code in an fp style though.


Sure they're popular, but the reason they don't talk about monads, even if they are monads in an abstract sense, is that in those problem domains the abstraction doesn't bring any clarity to the design.


Whether they talk about it or not, monads did inform their design. rxjs literally has methods named `flatmap`




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

Search: