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