|
|
Log in / Subscribe / Register

"Structural pattern matching" for Python, part 1

"Structural pattern matching" for Python, part 1

Posted Aug 6, 2020 7:46 UTC (Thu) by rwmj (subscriber, #5474)
Parent article: "Structural pattern matching" for Python, part 1

I use proper pattern matching in OCaml all the time, it's a very useful feature. The authors of this feature might wish to read about how the implementation can be optimized by the compiler: https://caml.inria.fr/pub/papers/xleroy-zinc.pdf (page 64 and onwards).


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds