diff options
author | Thomas Letan <lthms@soap.coffee> | 2021-03-28 00:03:41 +0100 |
---|---|---|
committer | Thomas Letan <lthms@soap.coffee> | 2021-03-28 14:19:29 +0200 |
commit | 495f9db0606b0ed09e6fac59dc32de4cdc8c0087 (patch) | |
tree | 82ea5c5e247c664de247a0f3818f393ffdb00067 /site/posts/LtacPatternMatching.v | |
parent | Release of coqffi 1.0.0~beta4 (diff) |
2021 Spring redesign
Diffstat (limited to 'site/posts/LtacPatternMatching.v')
-rw-r--r-- | site/posts/LtacPatternMatching.v | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/site/posts/LtacPatternMatching.v b/site/posts/LtacPatternMatching.v index d52d0bf..a0b8a4d 100644 --- a/site/posts/LtacPatternMatching.v +++ b/site/posts/LtacPatternMatching.v @@ -1,3 +1,7 @@ +(** #<nav><p class="series">Ltac.html</p> + <p class="series-prev">./LtacMetaprogramming.html</p> + <p class="series-next">./MixingLtacAndGallina.html</p></nav># *) + (** * Pattern Matching on Types and Contexts *) (** In the #<a href="LtacMetaprogramming.html">#previous article#</a># of our @@ -11,7 +15,7 @@ contexts. In this article, we give a short introduction on this feature of key importance. *) -(** #<div id="generate-toc"></div># +(** #<nav id="generate-toc"></nav># #<div id="history">site/posts/LtacPatternMatching.v</div># *) @@ -137,8 +141,8 @@ Ltac not_param_type x := | _ => idtac end. -(** Both <<not_param_type (@nil nat)>> of type [list nat] and <<(@eq_refl nat - 0)>> of type [0 = 0] fail, but <<not_param_type 0>> of type [nat] +(** Both <<not_param_type (@nil nat)>> of type [list nat] and + <<(@eq_refl nat 0)>> of type [0 = 0] fail, but <<not_param_type 0>> of type [nat] succeeds. *) (** ** Pattern Matching on the Context with [goal] *) |