Hacker News new | ask | show | jobs
by ysleepy 3351 days ago
It is an old concept used in most functional languages, like ML, haskell or even Prolog via unification.

So not an invention of scala, only that is also lives on the JVM.

http://wiki.c2.com/?PatternMatching