// Copyright (C) 2026 Industrial Algebra
// SPDX-License-Identifier: Apache-2.0
use crateProfunctor;
/// A `Choice` profunctor can lift a `P<A, B>` into `P<Result<A, C>, Result<B, C>>`.
///
/// This is the key ingredient for profunctor-encoded prisms.
/// Uses `Result<L, R>` as the sum type (idiomatic Rust, no custom `Either`).