From eb514243dc631cd8e8dac2699e8cfd4bf703d012 Mon Sep 17 00:00:00 2001 From: Guillaume Claret Date: Thu, 26 Nov 2015 18:36:17 +0100 Subject: [PATCH] OPAM installation instructions --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 79366990..29c99061 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,13 @@ Ideas - Avoid functors in favor of type classes since type classes are more flexible b/c they are first-class. - Notations should be hidden by modules that are explicitly opened. - - This avoids clashes between precedence. + - This avoids clashes between precedence. - TB: Actually, this does not completely avoid clashes, if we have to open two modules at the same time (for instance, I often need to open Equality, to get dependent destruction, which conflicts with the rest of my development) - TB: I like the idea of having to prefix operations by the name of the module (e.g., DList.fold, DList.map, DList.T), and yet to benefit from the support of notations, without opening this module. I implement that by having a module DList that contains the operations, inside the file DList. The notations leave in the file DList, and I do Require Import DList everywhere... - Avoid the use of the 'core' hint database. - Avoid the use of dependent functions, e.g. dependendent decidable equality, in favor of their boolen counter-parts. Use type-classes to expose the proofs. -- +- File Structure -------------- @@ -24,3 +24,12 @@ File Structure * theories/ - Base directory to the provided theories +Install from OPAM +----------------- +Make sure you added the [Coq repository](coq.io/opam/): + + opam repo add coq-released https://coq.inria.fr/opam/released + +and run: + + opam install coq-ext-lib