I would like to filter all elements that don't match a condition. I was able to get this to work:
var a = [1,2,3];
function notSame(x,y) {
R.pipe(
R.equals,
R.not
)
}
R.filter(
R.pipe(
R.equals(1),
R.not),
a
) // [2,3]
But I feel like there has to be a simpler approach :)