Skip to content

Commit 6b4040e

Browse files
authored
Merge pull request #10 from clarus/upgade-to-coq-8.10
Add compatibility with Coq 8.10
2 parents bd632c5 + 76d8cc2 commit 6b4040e

File tree

6 files changed

+15
-4
lines changed

6 files changed

+15
-4
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ env:
1313
- COQ_IMAGE="coqorg/coq:8.6" SHOULD_SUPPORT="false"
1414
- COQ_IMAGE="coqorg/coq:8.7" SHOULD_SUPPORT="true"
1515
- COQ_IMAGE="coqorg/coq:8.8" SHOULD_SUPPORT="true"
16-
- COQ_IMAGE="coqorg/coq:8.9" SHOULD_SUPPORT="false"
17-
- COQ_IMAGE="coqorg/coq:8.10" SHOULD_SUPPORT="false"
16+
- COQ_IMAGE="coqorg/coq:8.9" SHOULD_SUPPORT="true"
17+
- COQ_IMAGE="coqorg/coq:8.10" SHOULD_SUPPORT="true"
1818

1919
install: |
2020
# Prepare the COQ container

coq-chick-blog.opam

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ depends: [
2323
"ocaml"
2424
"ocamlfind" {build}
2525
]
26+
conflicts: [
27+
"ocaml-secondary-compiler"
28+
]
2629
tags: [
2730
"keyword:blog"
2831
"keyword:effects"

src/Main.v

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
(** The main function (the server handler) and the controller. *)
22
Require Import Coq.Lists.List.
33
Require Import Coq.NArith.NArith.
4+
Require Import Coq.Strings.Ascii.
45
Require Import Coq.Strings.String.
56
Require Import ErrorHandlers.All.
67
Require Import FunctionNinjas.All.
@@ -14,6 +15,7 @@ Require Response.
1415

1516
Import ListNotations.
1617
Import C.Notations.
18+
Local Open Scope char.
1719
Local Open Scope string.
1820
Local Open Scope list.
1921

src/Model.v

+2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ Require Import Coq.Bool.Bool.
33
Require Import Coq.Lists.List.
44
Require Import Coq.NArith.NArith.
55
Require Import Coq.Strings.Ascii.
6+
Require Import Coq.Strings.String.
67
Require Import ErrorHandlers.All.
78
Require Import FunctionNinjas.All.
89
Require Import ListString.All.
910
Require Import Moment.All.
1011

1112
Import ListNotations.
13+
Local Open Scope string.
1214
Local Open Scope char.
1315

1416
(** A post from the user. *)

src/Render.v

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
(** Pretty-print responses to HTML. *)
22
Require Import Coq.Lists.List.
3-
Require Import Coq.Strings.Ascii.
3+
Require Import Coq.Strings.String.
44
Require Import FunctionNinjas.All.
55
Require Import ListString.All.
66
Require Http.
77
Require Import Model.
88
Require Response.
99

1010
Import ListNotations.
11-
Local Open Scope char.
11+
Local Open Scope string.
12+
Local Open Scope list.
1213

1314
(** The header of a page with the authentication status (logged in or out). *)
1415
Definition header (is_logged : option bool) : LString.t :=

src/Spec.v

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
(** Specifications. *)
22
Require Import Coq.Lists.List.
33
Require Import Coq.Strings.Ascii.
4+
Require Import Coq.Strings.String.
45
Require Import FunctionNinjas.All.
56
Require Import ListString.All.
67
Require Import Computation.
@@ -11,6 +12,8 @@ Require Request.
1112

1213
Import ListNotations.
1314
Local Open Scope char.
15+
Local Open Scope string.
16+
Local Open Scope list.
1417
Local Set Asymmetric Patterns.
1518

1619
(** A run is an execution of the program with explicit answers for the

0 commit comments

Comments
 (0)