@@ -200,11 +200,11 @@ bitsEq' {n=n} x y with (nextBits n)
200 | Bits64 = prim__eqB64 x y
200 | Bits64 = prim__eqB64 x y
203−bitsEq : (x : Bits n) -> (y : Bits n) -> Either (x = y -> _|_) (x = y)
203+bitsEq : (x : Bits n) -> (y : Bits n) -> Equality x y
204bitsEq (MkBits x) (MkBits y) =
204bitsEq (MkBits x) (MkBits y) =
205 case (bitsEq' x y) of
205 case (bitsEq' x y) of
206− 0 => Left uneq
206+ 0 => Unequal uneq
207− _ => Right eq
207+ _ => Equal eq
209 postulate uneq : {x : Bits n} -> {y : Bits n} -> x = y -> _|_
209 postulate uneq : {x : Bits n} -> {y : Bits n} -> x = y -> _|_
210 postulate eq : {x : Bits n} -> {y : Bits n} -> x = y
210 postulate eq : {x : Bits n} -> {y : Bits n} -> x = y