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

Pretty sure the GP is referring to pattern matching as it exists in ML or Scala. Or, somewhat less elegantly (given the constraints of the language) something like what https://github.com/jfd/match-js does.


Yup. IIRC the R language includes really cool features of both pattern matching and keyword arguments in its function signatures.




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

Search: