Bitset.combine_if: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/containers/bitset.bend as Bitset Lines 386-391 of bend-collections@1.0.0.0/src/containers/bitset.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/containers/bitset.bend&start_line=386&end_line=391 import Base import bend-collections@1.0.0.0/src/math/pow2.bend as P2 import bend-collections@1.0.0.0/src/containers/types/bitset.bend as E def combine_if(ok: Bool, +k: WordOp, +n: Nat, +d: Nat, a: Array, +m: Nat, +e: Nat, b: Array) -> Bitset & Bitset & Result<&2, &2, E.Error, Unit>: match ok: case True{}: zip_fin(zip_go(P2.pow2t(d), (a, b), k, d, 0n), n, d, m, e) case False{}: (BS{n, d, a}, BS{m, e, b}, Fail{E.LengthMismatch{}}) Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/bitset.bend&name=Bitset https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/bitset.bend&name=Wd https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/bitset.bend&name=WordOp https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/bitset.bend&name=zip_fin https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/bitset.bend&name=zip_go https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/types/bitset.bend&name=Error https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/pow2.bend&name=pow2t