def osa.swap

shake@0.7.0.0 · src/cli.bend:2264

import shake@0.7.0.0/src/cli.bend as Cli
import 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)

Uses (4)

Used by (1)