# HG changeset patch # User Adam Chlipala # Date 1277726341 14400 # Node ID d63cb5fbdce0e5a82a9947063f1db728cafc90cf # Parent 806420cf7a2ffcfb9bf6de5813ac07e4777111b7 A suggestion from sbriais: mention that Coq >=8.2 allows omitted match cases diff -r 806420cf7a2f -r d63cb5fbdce0 src/MoreDep.v --- a/src/MoreDep.v Sat May 15 06:44:41 2010 -0400 +++ b/src/MoreDep.v Mon Jun 28 07:59:01 2010 -0400 @@ -121,7 +121,7 @@ ]] -Unlike in ML, we cannot use inexhaustive pattern matching, because there is no conception of a %\texttt{%##Match##%}% exception to be thrown. We might try using an [in] clause somehow. +Unlike in ML, we cannot use inexhaustive pattern matching, because there is no conception of a %\texttt{%##Match##%}% exception to be thrown. In fact, recent versions of Coq %\textit{%##do##%}% allow this, by implicit translation to a [match] that considers all constructors. It is educational to discover that encoding ourselves directly. We might try using an [in] clause somehow. [[ Definition hd n (ls : ilist (S n)) : A :=