proofs.rs

Method

either::Either::map_either

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

Documentation on docs.rs

Claims (1)

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

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