Skip to Content.
Sympa Menu

coq-club - Re: Re: [Coq-Club] How to project/define these attributes?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: Re: [Coq-Club] How to project/define these attributes?


chronological Thread 
  • From: zaman.a25 AT gmail.com
  • To: coq-club AT inria.fr
  • Subject: Re: Re: [Coq-Club] How to project/define these attributes?
  • Date: Wed, 10 Aug 2011 15:18:33 +0200

Thanks.

Ive written the following to get teh ProtocolEvent of the Protocols.

Fixpoint pEvent (p:Protocol) : ProtocolEvent :=
match p with
| (Create_ProtocolB pe) => pe
| (Create_ProtocolR p1 Rop) => pEvent p1 
| (Create_ProtocolEE p1 Bop p2) => pEvent ..... ?
end.

For the last clause, how do I write so that it evaluates p1 first, and then
evaluates p2?

Thanks in advance.



Archive powered by MhonArc 2.6.16.

Top of Page