/** * Perfoms the specified operation while "zoomed in" on the `Some` case of an * `Maybe`. * * @tsplus static effect/core/io/Effect.Aspects someWith * @tsplus pipeable effect/core/io/Effect someWith */ export function someWith( f: (effect: Effect, A>) => Effect, A1> ) { return (self: Effect>): Effect> => Effect.suspendSucceed(f(self.some).unsome) }