/** * Zips `Maybe` and `Maybe` into `Maybe>`. * * @tsplus pipeable-operator Maybe + * @tsplus static Maybe.Aspects zip * @tsplus pipeable Maybe zip */ export function zip(that: Maybe) { return (self: Maybe): Maybe => self.flatMap((a) => that.map((b) => [a, b])) }