composeP
const getProm = val => new Promise(resolve => resolve(val)); composeP(inc, getProm)(5).then(res => console.log(res)) //-> Promise 6