/** * @tsplus static Maybe.Aspects partitionMap * @tsplus pipeable Maybe partitionMap */ export function partitionMap(f: (a: A) => Either) { return (self: Maybe): readonly [Maybe, Maybe] => self.map(f).separate }