proofs.rs

Method

either::Either::either

impl<L, R> Either<L, R>
pub fn either<F, G, T>(self: Self, f: F, g: G) -> T where F: FnOnce(L) -> T, G: FnOnce(R) -> T

Documentation on docs.rs

Claims (1)

Claim #33 — Verification of either::Either::either (with Aeneas be86ab0f1989d04944292b345b24c435be3ad10a)
either::Either::either

Either branch operations, payload conversions and conditional composition · v8 · 0 comments · nyuichi