A sugary DSL to create getter functions

I made a helper that lets me write data.map(get.x.y.z) instead of a lambda, plus helpful errors and some flexibility, and I’m pretty happy with how it turned out! Don’t mind the half-baked contents in the rest of the notebook, and apologies for the broken TOC which I’ll try to fix tomorrow, just scroll down to the “Getter function DSL” about halfway down the page.

1 Like