I have a pipe like this
pipe(
getUserData,
getLocationData,
someFunctionThatNeedBothUserAndLocationData
)(input)
I need to have a function that access to both user and location data like this
function someFunctionThatNeedBothUserAndLocationData(user, location){
// do something
}
How can I do something like that in functional programming?