coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Guillaume Dufay <Guillaume.Dufay AT sophia.inria.fr>
- To: coq-club AT pauillac.inria.fr
- Subject: Pattern-matching on a redefined constructor name
- Date: Thu, 18 May 2000 11:23:21 +0200
- Organization: INRIA Sophia Antipolis
Hello,
I'm having a weird problem with the strategie Cases.
Hereafter a small example in Coq :
Require Bool.
Definition is_true := true.
Definition foo := [b:bool]
Cases b of
is_true => true |
_ => false
end.
Print is_true.
Print foo.
And the result is :
> is_true = true
> : bool
> foo = [_:bool]true
> : bool->bool
No pattern-matching is done on the redefined constructor true.
Is that a normal behaviour? Is there a way to avoid this?
Thank you in advance. Regards,
Guillaume Dufay
- Pattern-matching on a redefined constructor name, Guillaume Dufay
- Re: Pattern-matching on a redefined constructor name,
Eduardo Gimenez
- Re: Pattern-matching on a redefined constructor name, Benjamin Werner
- Re: Pattern-matching on a redefined constructor name,
Eduardo Gimenez
Archive powered by MhonArc 2.6.16.