on master help sign in
Cleaned up an old name change for consistency
commitdf1544e2f009ea50131bfccff34966e9f2f670a8 authorPatrik Jansson <patrik.ja@gmail.com> dateWed 14 Jan 2015, 16:21 (12 years ago) parent2fd3ebc
1 file changed+4−4
libs/prelude/Decidable/Equality.idr+4−4
libs/prelude/Decidable/Equality.idr+4−4
@@ -50,13 +50,13 @@ instance DecEq Bool where
5050-- Nat
5151--------------------------------------------------------------------------------
5252
53−total OnotS : Z = S n -> Void
54−OnotS Refl impossible
53+total ZnotS : Z = S n -> Void
54+ZnotS Refl impossible
5555
5656instance DecEq Nat where
5757 decEq Z Z = Yes Refl
58− decEq Z (S _) = No OnotS
59− decEq (S _) Z = No (negEqSym OnotS)
58+ decEq Z (S _) = No ZnotS
59+ decEq (S _) Z = No (negEqSym ZnotS)
6060 decEq (S n) (S m) with (decEq n m)
6161 | Yes p = Yes $ cong p
6262 | No p = No $ \h : (S n = S m) => p $ succInjective n m h