/** * Applicative's ap. * * @tsplus static effect/core/io/Exit.Aspects ap * @tsplus pipeable effect/core/io/Exit ap */ export function ap(that: Exit B>) { return (self: Exit): Exit => that.flatMap((f) => self.map((a) => f(a))) }