Skip to content

Commit 514ce04

Browse files
committed
Drop support for OCaml 4.7 to 4.10.
1 parent 12c0b6e commit 514ce04

File tree

6 files changed

+12
-47
lines changed

6 files changed

+12
-47
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
ocaml-version: [
14-
4.07.0, 4.07.1, 4.08.0, 4.08.1, 4.09.0, 4.09.1, 4.10.0, 4.10.1,
15-
4.10.2, 4.11.0, 4.11.1, 4.11.2, 4.12.0, 4.13.0, 4.13.1, 4.14.0,
16-
4.14.1, 5.0.0, 5.1.0, 5.1.1
14+
4.11.0, 4.11.1, 4.11.2,
15+
4.12.0,
16+
4.13.0, 4.13.1,
17+
4.14.0, 4.14.1,
18+
5.0.0,
19+
5.1.0, 5.1.1
1720
]
1821
runs-on: "ubuntu-latest"
1922
steps:

bindlib.opam

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ license: "LGPL-3.0"
1717
homepage: "https://github.com/rlepigre/ocaml-bindlib"
1818
bug-reports: "https://github.com/rlepigre/ocaml-bindlib/issues"
1919
depends: [
20-
"ocaml" {>= "4.07.0"}
20+
"ocaml" {>= "4.11.0"}
2121
"dune" {>= "2.7" & build}
22-
"timed" {>= "1.0" & with-test}
23-
"pacomb" {>= "1.1" & with-test}
22+
"timed" {>= "1.1" & with-test}
23+
"pacomb" {>= "1.3" & with-test}
2424
"odoc" {with-doc}
2525
]
2626
build: [

dune-project

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
OCaml language. The main application is the representation of types with
2121
a binding structure (e.g., abstract syntax trees).")
2222
(depends
23-
(ocaml (>= 4.07.0))
23+
(ocaml (>= 4.11.0))
2424
(dune :build)
25-
(timed (and (>= 1.0) :with-test))
26-
(pacomb (and (>= 1.1) :with-test))
25+
(timed (and (>= 1.1) :with-test))
26+
(pacomb (and (>= 1.3) :with-test))
2727
(odoc :with-doc)))

lib/bindlib.ml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ let ((reset_counter : unit -> unit), (fresh_key : unit -> int)) =
1111
let c = ref (-1) in
1212
((fun () -> c := -1), (fun () -> incr c; !c))
1313

14-
(* FIXME remove in recent enough OCaml. *)
15-
module Int = struct
16-
type t = int
17-
let compare = (-)
18-
end
19-
2014
module IMap = Map.Make(Int)
2115
module SMap = Map.Make(String)
2216

lib/dune

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@
22
(name bindlib)
33
(public_name bindlib)
44
(synopsis "An efficient representation of binders")
5-
(preprocess
6-
(action
7-
(run ocaml %{project_root}/lib/pp.ml %{ocaml_version} %{input-file})))
8-
(preprocessor_deps pp.ml)
9-
(modules bindlib)
105
(wrapped false))

lib/pp.ml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)