Skip to content

Commit 02581e7

Browse files
authored
Merge pull request #142 from andreykl/master
snippets changed: ch1 ch2 ch3 ch4 ch5 better reflect book content now
2 parents 7521045 + 1a19186 commit 02581e7

File tree

840 files changed

+25029
-38810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

840 files changed

+25029
-38810
lines changed

coq/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
files=ch0.v ch1.v ch2.v ch3.v ch4.v ch6.v ch7_1.v ch7_2.v ch7_3.v ch7_4.v ch7_5.v ch8.v
1+
files=ch0.v ch1.v ch2.v ch3.v ch4.v ch5.v ch6.v ch7_1.v ch7_2.v ch7_3.v ch7_4.v ch7_5.v ch8.v
22

33
all: check $(files:%.v=%.html) index.html node_modules
44

coq/README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
# The Mathematical Components book code listings for jsCoq.
22

3-
Code snippets are intended to be viewed using jsCoq (actual version is
4-
<a href="https://math-comp.github.io/snippets">here</a>), but you also can just
5-
open selected `.v` file in your favorite Galina code editor. To view pages in
6-
your browser locally you need install `coq`, `mathcomp`, then do `npm install`
7-
and `node app.js` to run node applicaion (app.js) and then open link
8-
http://127.0.0.1:8010/ in your browser. A bit more detailed instructions are
9-
provided below.
10-
11-
You can view jscoq snippets <a href="https://math-comp.github.io/snippets">here</a>.
3+
You can view jscoq snippets <a href="https://math-comp.github.io/mcb/snippets/">here</a>
4+
just by open link in browser. Or it is possible to download and open usual .v file in
5+
your favorite Galina editor.
6+
7+
Instructions below are given to view code snippets on localhost (mostly
8+
for testing/developement purposes).
9+
10+
Code snippets are intended to be viewed using jsCoq for usability (and can be found
11+
by the link above). To view pages in your browser locally you need install `coq`,
12+
`mathcomp`, then do `npm install` and `node app.js` to run node applicaion (app.js)
13+
and then open link http://127.0.0.1:8010/ in your browser. A bit more detailed
14+
instructions are provided below.
15+
16+
1217

1318
## Installation & Run
1419

coq/ch0.v

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ rewrite big_nat_recr //= IHn addnC -divnMDl //.
88
by rewrite mulnS muln1 -addnA -mulSn -mulnS.
99
Qed.
1010

11+
(* Recommended headers *)
12+
(* From mathcomp Require Import all_ssreflect. *)
13+
(* Set Implicit Arguments. *)
14+
(* Unset Strict Implicit. *)
15+
(* Unset Printing Implicit Defensive. *)

0 commit comments

Comments
 (0)