by qsort · 3y ago · 0 comments
It's not very ergonomic, but if you start from that assumption you could have ad-hoc syntactic support that desugars to a limited version of an optics library.
frozenmap (PEP 603) is in draft.
What’s an example of a language that does this by default?