3 ms·
Good to see, this is one thing I have really missed from Erlang when writing Javascript.
by cldr 13y ago
Good to see, this is one thing I have really missed from Erlang when writing Javascript.
- mnemonik 13y agoThis isn't quite as powerful as full blown pattern matching (which in turn isn't quite as powerful as full blown unification) because you can't branch logic based on whether a pattern matches or not.
- cldr 13y agoDo you happen to know, which is `destructuring-bind`, destructuring or pattern matching?
- kibwen 13y agoCan you elaborate on what "unification" is in this context? The only language that I've used with full-blown pattern matching is Rust, and I'm curious to know what the next step up the ladder is.
- dragonwriter 13y agoA fairly decent, brief answer is here: http://stackoverflow.com/questions/4442314/differences-between-pattern-matching-and-unification http://stackoverflow.com/questions/4442314/differences-betwe...