mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-01 01:09:03 +03:00
22 lines
634 B
Plaintext
22 lines
634 B
Plaintext
1/1: Building eq (eq.idr)
|
|
Error: badeq x y p is not a valid impossible case.
|
|
|
|
eq.idr:27:1--27:23
|
|
23 | eqL2 : (xs : List a) -> (x :: xs = x :: y :: xs) -> Nat
|
|
24 | eqL2 xs p impossible
|
|
25 |
|
|
26 | badeq : (x : Nat) -> (y : Nat) -> (S (S x) = S y) -> Nat
|
|
27 | badeq x y p impossible
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Error: badeqL xs ys p is not a valid impossible case.
|
|
|
|
eq.idr:30:1--30:26
|
|
26 | badeq : (x : Nat) -> (y : Nat) -> (S (S x) = S y) -> Nat
|
|
27 | badeq x y p impossible
|
|
28 |
|
|
29 | badeqL : (xs : List a) -> (ys : List a) -> (x :: xs = x :: y :: ys) -> Nat
|
|
30 | badeqL xs ys p impossible
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|