coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Justus Matthiesen <justus.matthiesen AT cl.cam.ac.uk>
- To: coq-club AT inria.fr
- Cc: kennethadammiller AT gmail.com
- Subject: Re: [Coq-Club] Coq data types
- Date: Sun, 11 Nov 2012 21:48:20 +0000
> I'm lost as to why t was used in place of vector. Why would the designers
> choose t instead of vector?
It's a convention in OCaml to give the name "t" to the main data structure
implemented in a file/module. I guessed it's spilled over into the Coq
standard library in places.
> Also, as part of an assignment, I have to model some C unions in Coq-I'm new
> to Coq, so I was wondering what data type I would use to get this done.
Have you tried the "Software Foundations" book [1] by Benjamin Pierce et al.?
The first few sections of the first chapter should give you enough
information
to answer your assignment.
Justus
[1] http://www.cis.upenn.edu/~bcpierce/sf/
- [Coq-Club] Coq data types, kennethadammiller, 11/11/2012
- Re: [Coq-Club] Coq data types, Justus Matthiesen, 11/11/2012
- Re: [Coq-Club] Coq data types, Pierre Boutillier, 11/11/2012
- Re: [Coq-Club] Coq data types, Kenneth Adam Miller, 11/12/2012
- Re: [Coq-Club] Coq data types, Kenneth Adam Miller, 11/12/2012
- Re: [Coq-Club] Coq data types, Kenneth Adam Miller, 11/12/2012
Archive powered by MHonArc 2.6.18.