2 ms·
I would compare this less to with, and more to Lisp setf, or possibly a lens. Basically, the idea that when you're writing the function, you also write the dual
by derefr 11y ago
I would compare this less to with, and more to Lisp setf, or possibly a lens. Basically, the idea that when you're writing the function, you also write the dual of the function, so that meta-functions (like with) can automatically map the function to its dual (like mapping a getter to the equivalent setter, etc.)
- nickpsecurity 11y agoThat makes more sense.