New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft: New: lensIso
#3465
base: master
Are you sure you want to change the base?
Draft: New: lensIso
#3465
Conversation
Coverage> ramda@0.30.0 coverage:summary
> BABEL_ENV=cjs nyc --reporter=text-summary mocha -- --reporter=min --require @babel/register
�[2J�[1;3H
1190 passing (929ms)
=============================== Coverage summary ===============================
Statements : 94.04% ( 2477/2634 )
Branches : 85.73% ( 967/1128 )
Functions : 93.25% ( 553/593 )
Lines : 94.32% ( 2323/2463 )
================================================================================ |
Coverage> ramda@0.30.0 coverage:summary
> BABEL_ENV=cjs nyc --reporter=text-summary mocha -- --reporter=min --require @babel/register
�[2J�[1;3H
1190 passing (943ms)
=============================== Coverage summary ===============================
Statements : 94.04% ( 2477/2634 )
Branches : 85.73% ( 967/1128 )
Functions : 93.25% ( 553/593 )
Lines : 94.32% ( 2323/2463 )
================================================================================ |
Coverage> ramda@0.30.0 coverage:summary
> BABEL_ENV=cjs nyc --reporter=text-summary mocha -- --reporter=min --require @babel/register
�[2J�[1;3H
1190 passing (870ms)
=============================== Coverage summary ===============================
Statements : 94.04% ( 2477/2634 )
Branches : 85.73% ( 967/1128 )
Functions : 93.25% ( 553/593 )
Lines : 94.32% ( 2323/2463 )
================================================================================ |
Coverage> ramda@0.30.0 coverage:summary
> BABEL_ENV=cjs nyc --reporter=text-summary mocha -- --reporter=min --require @babel/register
�[2J�[1;3H
1190 passing (888ms)
=============================== Coverage summary ===============================
Statements : 94.04% ( 2477/2634 )
Branches : 85.73% ( 967/1128 )
Functions : 93.25% ( 553/593 )
Lines : 94.32% ( 2323/2463 )
================================================================================ |
Can achieve the same with |
I didn't think to use Ref: https://tsplay.dev/WP2BJN The only reason I can see keeping this then would be for convenience and exposure. I can adjust the file to use |
We have https://github.com/ramda/ramda-lens which feels like where it belongs. But of course that hasn't been updated in many years. I reckon mull it over for a bit and if you want to bring it in or others chime that they'd like it we can work to get it in. |
I found myself having to implement this on my own recently in a project at work. It's useful to have alongside
lens
and has a distinct implementation that isn't a simple composition of other functions. So figured it was worth adding to the core libTODO: