proofs.rs

Method

either::Either::either_with

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

Documentation on docs.rs

Claims (1)

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

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