/** * @tsplus static effect/core/testing/Sample.Aspects map * @tsplus pipeable effect/core/testing/Sample map */ export function map(f: (a: A) => A2) { return (self: Sample): Sample => Sample( f(self.value), self.shrink.map((maybe) => maybe.map((sample) => sample.map(f))) ) }