promise & async+await, if all are one-shot.
or if you curry functions and treat promises/event-streams as Applicatives,
you can copy over liftAN in haskell, e.g.
var calc = curry(function(a, b, c) {...});
liftA3(calc, fetchA(), fetchB(), fetchC());
【 在 saynothing (止语) 的大作中提到: 】
: 如题。
--
FROM 180.173.114.*