PNW-TechPros / js-natural-lenses

A JavaScript-native lens (and ancillary optics) system loosely based on Kmett-style lenses.
MIT License
3 stars 0 forks source link

`thence` method on `Optic` #3

Closed rtweeks closed 2 years ago

rtweeks commented 2 years ago

A new thence method on the Optic class should accept "rest" keys, create a Lens from them, and fuse that Lens to the right end of this Optic.

Lens should override thence to more efficiently create a new Lens.