Skip to content

Commit

Permalink
OPAM installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
clarus committed Nov 26, 2015
1 parent 9d7c744 commit eb51424
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------
Expand All @@ -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

0 comments on commit eb51424

Please sign in to comment.