def combine
import bend-collections@1.0.0.0/src/containers/bitset.bend as Bitsetimport Base
import bend-collections@1.0.0.0/src/containers/types/bitset.bend as E
398# The operands are given back unchanged apart from the result written into the
399# left one: a linear API has to return what it borrowed.
400def combine(+k: WordOp, s: Bitset, t: Bitset) -> Bitset & Bitset & Result<&2, &2, E.Error, Unit>:
401 match s:
402 case BS{+n, +d, a}:
403 combine_b(k, n, d, a, t)