blob: 642f85d7beb35b693d6372fce5007a838ac77268 (
plain)
1
2
3
4
5
6
7
8
|
Parameter compare : forall n m : nat, {n < m} + {n = m} + {n > m}.
Fail Type
match compare 0 0 return nat with
(* k<i *) | left _ (left _ _) => 0
(* k=i *) | left _ _ => 0
(* k>i *) | right _ _ => 0
end.
|