-
Notifications
You must be signed in to change notification settings - Fork 8
Recursive objectLens #2
Comments
Yes, I definitely want something like this - but not on Something like this would be cool:
And maybe another:
And they should of course have appropriate |
I see. You want to cover all the bases. Not the easy-going javascripter, this one :) But yeah, you're probably right. However, from the API user's point of view, I don't like
The Lens constructor could provide a super-easy way for constructing lenses from strings and maybe |
Out of curiosity, why the differentiation between Array and Object lenses? |
I wrote this ages ago and covers the original idea: https://github.com/SimonRichardson/fantasy-lenses/blob/master/lens.js#L103 |
Would you like a recursive objectLens, so U could
? I'll PR, if this makes sense to you...
The text was updated successfully, but these errors were encountered: