import { ap } from "https://deno.land/x/fun@v.2.0.0-alpha.11/promise.ts";
Create a new Promise from a Promise<(a: A) => I> and a Promise. Although Promises encapsulate asynchrony, there is no way defer a Promise once created, thus this ap function always evaluates both input Promises in parallel.
Parameters
ua: Promise<A>