4 ms·
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
by maw 16y ago
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 https://github.com/jfd/match-js does.
- aphyr 16y agoYup. IIRC the R language includes really cool features of both pattern matching and keyword arguments in its function signatures.