You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently in the process of swapping my home-brewed util library for lume. one sticking point is that my version of map passes the value and key to the mapper function, which means I have to modify lume a bit. it should be as simple as changing rtn[k] = f(v) to rtn[k] = f(v, k). I seriously doubt that this would break any existing code (aren't dynamic function arities wonderful?) so if folks think it's a good idea I can make a pull request for this, might also propagate this change to some of the other higher order functions like filter while I'm at it
The text was updated successfully, but these errors were encountered:
NQMVD
added a commit
to NQMVD/lume
that referenced
this issue
Aug 15, 2023
I'm currently in the process of swapping my home-brewed util library for lume. one sticking point is that my version of map passes the value and key to the mapper function, which means I have to modify lume a bit. it should be as simple as changing
rtn[k] = f(v)
tortn[k] = f(v, k)
. I seriously doubt that this would break any existing code (aren't dynamic function arities wonderful?) so if folks think it's a good idea I can make a pull request for this, might also propagate this change to some of the other higher order functions like filter while I'm at itThe text was updated successfully, but these errors were encountered: