def bit.eq

ezx@1.11.0.0 · src/ws/joint.bend:151

import ezx@1.11.0.0/src/ws/joint.bend as Joint
import 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)

Uses (2)

Used by (1)