Pointfree dynamic function composition

4

I'm trying to refactor this function to be pointfree.

function siblings(me) {
  return R.pipe(family, R.reject(equalsMe(me)))(me);
}

I'd like to pass me to a function down the pipe along with the value that family returns.

Tried a few things with R.useWith or R.converge with R.identity or R.__ (not even sure if I should be using that) but found nothing to work.

Share
Improve this question

Comments

Popular posts from this blog

react-native vs reactXP

Implementation of a function object “power” operator in Raku

cannot import name '_endpoint_from_view_func' from 'flask.helpers' in python