coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: t x <txrev319 AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] mtac formulation of dictionary
- Date: Sun, 15 Sep 2013 04:41:39 +0000
n/m, sorry for the spam --- got it working, apparently "raise NotFound" is a perfectly acceptable M V.
PS: mtac is awesome.
On Sun, Sep 15, 2013 at 4:24 AM, t x <txrev319 AT gmail.com> wrote:
In particular, I'm stuck on the following point: in plain Coq, the key not being in the list genrates a None. In Mtac, it generates an exception Not Found. I'm not sure how "=" is defined in this case.In mtac, with return of (M V) -- what is the equivalent statement to make?In plain Coq, (with return of option V) I can say: if I do a get after a delete, and the keys are different, I get the old value; otherwise, I get nil.This is what I'm happing problem with: In mtac, what is even the statement of the lemma?Please consider the following piece of code:Hi,I'm trying to learn Mtac.
https://gist.github.com/anonymous/6ce40832829aebc2e28b
Thanks!
- [Coq-Club] mtac formulation of dictionary, t x, 09/15/2013
- Re: [Coq-Club] mtac formulation of dictionary, t x, 09/15/2013
Archive powered by MHonArc 2.6.18.