calmm-js / partial.lenses

Partial lenses is a comprehensive, high-performance optics library for JavaScript
MIT License
915 stars 36 forks source link

Consider adding a `mapping` iso constructor #136

Closed polytypic closed 5 years ago

polytypic commented 6 years ago

Idea:

L.mapping([
  [in1, out1],
  [in2, out2]
])

Draft implementation of L.mapping.

polytypic commented 5 years ago

Initial version already released.