def qnext.pick

bend-toon-codec@0.1.0.0 · src/split.bend:14

import bend-toon-codec@0.1.0.0/src/split.bend as Split
import Base

14def qnext.pick(+st: U32, +quote: Bool, +bslash: Bool) -> U32:
15  sel.u(U32.is_eq(st, 0), sel.u(quote, 1, 0),
16  sel.u(U32.is_eq(st, 1), sel.u(bslash, 2, sel.u(quote, 0, 1)), 1))

Uses (4)

Used by (1)