Hacker News new | ask | show | jobs
by verttii 2349 days ago
You mean that guards + destructuring would effectively be the same as pattern matching in function's params? Pattern matching would allow matching against more complex data structures more comfortably though.