The name ap, while it's very short and matches the fantasy-land proposal, doesn't help with learnability or readability, imho. A better name might be applyTo, since that's what it does: it takes a stream of functions and applies them to a stream of values.
The name
ap
, while it's very short and matches the fantasy-land proposal, doesn't help with learnability or readability, imho. A better name might beapplyTo
, since that's what it does: it takes a stream of functions and applies them to a stream of values.