Pattern matching in nim Introduction New pattern matcing library introduces support for two very useful concepts: pattern matching and object destructuring.