Message from JavaScript discussions

March 2019

— True

— 

const IDIn =
R.useWith(R.find, [
R.eqProps('id'),
R.identity
]);

const IDNotIn = R.complement(IDIn);

— 

const xs = [{id: 1}, {id: 2}, {id: 3}];

IDNotIn({id: 3}, xs)

— (list should be passed last, flip later if necessary)

— Nice, thank you

— Separation of concerns

— Not and flip is a usage thing

— Not really related to the algorithm

— Ok, I see

— I’m really new to functional, thanks for your help.

— YOu all fuckers

— React is shit