Message from JavaScript discussions

October 2018

— I wasn't answering you

— 

I am trying to get into Ramda and I need some example by converting my existing code to Ramda friendly: !packages.map(package => package.name).includes(callbackQuery.data))

— I found that map is -> map and includes is -> contains

— But I am missing the chaining

— How would you write it?

— Https://stackoverflow.com/questions/44030645/are-arrow-functions-faster-more-performant-lighter-than-ordinary-standalone-f

Message permanent page

— Since it also makes it run faster as a side effect. so who knows why they are popular🤤 i do accept that some base type functions will run faster in future, but not the syntax constructs.

Message permanent page

— 

R.complement(
R.compose(
R.contains(
callbackQuery.data),
R.map(R.prop('name'))));

— Babel makes it run faster? Uhhhh

— So no performance difference

— Read first comment

— Yes