Hacker News new | ask | show | jobs
by logicchains 2180 days ago
Apart from Clojure, lisps generally do not support destructuring pattern matching on an object/dict.
2 comments

The defining feature of lisp is that it can support whatever you want, because the AST is available at compile time and is completely regular. If your point is about dicts specifically, then you might be technically correct, but I assure you that the majority of lisp codebases do support exactly the sort of pattern matching in this PEP. And the abuses are frankly egregious. Racket is the worst offender of them all, with syntax matching.
Trivia or Optima in Common Lisp support that.