proofs.rs

Method

either::Either::map_either_with

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

Documentation on docs.rs

Claims (1)

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

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