( right: LazyArbitrary<R>, left: LazyArbitrary<L> )
| 7381 | input._tag === "Left" ? either_.left(input.left) : either_.right(input.right) |
| 7382 | |
| 7383 | const eitherArbitrary = <R, L>( |
| 7384 | right: LazyArbitrary<R>, |
| 7385 | left: LazyArbitrary<L> |
| 7386 | ): LazyArbitrary<either_.Either<R, L>> => |
| 7387 | (fc) => |
| 7388 | fc.oneof( |
| 7389 | fc.record({ _tag: fc.constant("Left" as const), left: left(fc) }), |
| 7390 | fc.record({ _tag: fc.constant("Right" as const), right: right(fc) }) |
| 7391 | ).map(eitherDecode) |
| 7392 | |
| 7393 | const eitherPretty = <R, L>( |
| 7394 | right: pretty_.Pretty<R>, |