def bit.eq
import ezx@1.11.0.0/src/ws/joint.bend as Jointimport Base
151# whether two bits are one
152def bit.eq(aa: Bool, bb: Bool) -> Bool:
153 match aa:
154 case True{}:
155 bb
156 case False{}:
157 Bool.not(bb)
import ezx@1.11.0.0/src/ws/joint.bend as Jointimport Base
151# whether two bits are one
152def bit.eq(aa: Bool, bb: Bool) -> Bool:
153 match aa:
154 case True{}:
155 bb
156 case False{}:
157 Bool.not(bb)