@@ -200,11 +200,11 @@ bitsEq' {n=n} x y with (nextBits n)
200200 | Bits64 = prim__eqB64 x y
201201
202202public
203−bitsEq : (x : Bits n) -> (y : Bits n) -> Either (x = y -> _|_) (x = y)
203+bitsEq : (x : Bits n) -> (y : Bits n) -> Equality x y
204204bitsEq (MkBits x) (MkBits y) =
205205 case (bitsEq' x y) of
206− 0 => Left uneq
207− _ => Right eq
206+ 0 => Unequal uneq
207+ _ => Equal eq
208208 where
209209 postulate uneq : {x : Bits n} -> {y : Bits n} -> x = y -> _|_
210210 postulate eq : {x : Bits n} -> {y : Bits n} -> x = y