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

I guess it's all a matter of what you're used to, because coming from ML-family languages like F# and Haskell, the first thing you wrote doesn't really make any sense to me. In the ML family like F# is, you put the function (e.g. "filter isEven") before the argument ([1;2;3;4]).



Right, which is why ML languages are a bit baffling for me, the ordering seems totally off ;-)

Just getting started with Haskell and am having several, shall we say, WTF moments.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: