def osa.swap
import shake@0.7.0.0/src/cli.bend as Cliimport Base
2264# whether the two chars before these, swapped, are these two
2265def osa.swap(pa: Maybe<&2, Char>, pb: Maybe<&2, Char>, +ca: Char, +cb: Char) -> Bool:
2266 match pa:
2267 case None{}:
2268 False{}
2269 case Some{xa}:
2270 osa.swap.b(xa, pb, ca, cb)