Maybe.maybe_map_eq_bind: law of bend-mathlib@0.8.1.0 Import: import bend-mathlib@0.8.1.0/maybe.bend as Maybe Lines 100-106 of bend-mathlib@0.8.1.0/maybe.bend: https://jend.leeeet.dev/read.txt?path=bend-mathlib@0.8.1.0/maybe.bend&start_line=100&end_line=106 import Base # Mapping is binding the function followed by pure. law maybe_map_eq_bind: for ~A: Data for ~B: Data for ~f: A -> B for m: Maybe<&2, A> {Maybe.map(&2, A, B, f, m) == Maybe.bind(&2, A, B, m, x => Maybe.pure(&2, B, f(x))) : Maybe<&2, B>} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.map https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.pure