Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise Coq version to 8.14 and fix build warnings #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coq-io.opam
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ install: [
]
depends: [
"ocaml"
"coq" {>= "8.5"}
"coq" {>= "8.14"}
]
synopsis: "A library for effects in Coq"
tags: [
Expand Down
8 changes: 4 additions & 4 deletions src/C.v
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ Module Notations.
(** A nicer notation for `Let`. *)
Notation "'let!' x ':=' X 'in' Y" :=
(Let X (fun x => Y))
(at level 200, x ident, X at level 100, Y at level 200).
(at level 200, x name, X at level 100, Y at level 200).

(** Let with a typed answer. *)
Notation "'let!' x : A ':=' X 'in' Y" :=
(Let X (fun (x : A) => Y))
(at level 200, x ident, X at level 100, A at level 200, Y at level 200).
(at level 200, x name, X at level 100, A at level 200, Y at level 200).

(** Let ignoring the unit answer. *)
Notation "'do!' X 'in' Y" :=
Expand Down Expand Up @@ -111,12 +111,12 @@ Module I.
(** A nicer notation for `Let`. *)
Notation "'ilet!' x ':=' X 'in' Y" :=
(Let X (fun x => Y))
(at level 200, x ident, X at level 100, Y at level 200).
(at level 200, x name, X at level 100, Y at level 200).

(** Let with a typed answer. *)
Notation "'ilet!' x : A ':=' X 'in' Y" :=
(Let X (fun (x : A) => Y))
(at level 200, x ident, X at level 100, A at level 200, Y at level 200).
(at level 200, x name, X at level 100, A at level 200, Y at level 200).

(** Let ignoring the unit answer. *)
Notation "'ido!' X 'in' Y" :=
Expand Down