blob: d63c49403b0b7616b33a53b941e4ee900f1f3f33 (
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.
|