The first option is to use R.juxt, which does pretty much exactly what you're after by creating a new function that applies the list of given functions to the values received by the new function.
get_list = R.juxt(transforms);
Another option is R.ap, which applies a list of functions to a list of values. R.of can be used to wrap the value in an array.
get_list = R.compose(R.ap(transforms), R.of);
Or lastly, R.map could be used to receive each function in the list and return the result of applying it to the value.
get_list = value => R.map(fn => fn(value), transforms);
You've got a few options for this.
Assuming your functions are already in a list:
The first option is to use
R.juxt
, which does pretty much exactly what you're after by creating a new function that applies the list of given functions to the values received by the new function.Another option is
R.ap
, which applies a list of functions to a list of values.R.of
can be used to wrap the value in an array.Or lastly,
R.map
could be used to receive each function in the list and return the result of applying it to the value.