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
In my experience, these are far and away among the most common types of functions I create. Stuff like items.map(i => i.name) and dates.map(d => d.getTime()). It'd be really nice to have something like items.map(?.name~) or dates.map(?.getTime~()). And maybe extend it to setters via items.forEach(?.name ~= foo), though I'm not holding my breath on that one.
Note: I'm intentionally limiting it to just these two. I'm in no way proposing opening the flood gates to everything - stuff like (a, b) => a + b are very explicitly out of scope.
The text was updated successfully, but these errors were encountered:
In my experience, these are far and away among the most common types of functions I create. Stuff like
items.map(i => i.name)
anddates.map(d => d.getTime())
. It'd be really nice to have something likeitems.map(?.name~)
ordates.map(?.getTime~())
. And maybe extend it to setters viaitems.forEach(?.name ~= foo)
, though I'm not holding my breath on that one.Note: I'm intentionally limiting it to just these two. I'm in no way proposing opening the flood gates to everything - stuff like
(a, b) => a + b
are very explicitly out of scope.The text was updated successfully, but these errors were encountered: