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

> Btw, iirc, SML doesn't have this: there you only have 1 parameter but it could be a tuple

Nah, SML does also support automatically curried function definitions, it's just that by convention that feature didn't get used as often. I tried to find out why that was the case a while ago, and stumbled on this explanation: https://www.reddit.com/r/ProgrammingLanguages/comments/jde9x...



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

Search: