Skimming the docs for lens.js: https://www.npmjs.com/package/safety-lens makes lenses look rather like lisp's setf to me. Is this superficial or deep?
miniblog.
Related Posts
LSP is great for providing basic IDE services across editors and language. I do wonder if it limits the best you can do.
For example, I'm not aware of any way you can add up/down arrows to the margin for exploring inheritance. Hover text or lenses seem to be your only options.
Lenses rather remind me of setf (generalised setters in lisp) but for immutable data types. Nifty.
Racket docs are superb. The explanation of lenses is really accessible: https://docs.racket-lang.org/lens/lens-intro.html (some great examples and rationale)
