File: 0001-Remove-either-dependency.patch

package info (click to toggle)
ocaml-containers 3.16%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,472 kB
  • sloc: ml: 33,466; sh: 122; ansic: 53; makefile: 32
file content (36 lines) | stat: -rw-r--r-- 1,026 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Kyle Robbertze <kyle@paddatrapper.com>
Date: Sat, 12 Oct 2024 11:21:51 +0100
Subject: Remove either dependency

---
 dune-project  | 3 +--
 src/core/dune | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dune-project b/dune-project
index 2e77d11..f1b38fd 100644
--- a/dune-project
+++ b/dune-project
@@ -14,8 +14,7 @@
   (synopsis "A modular, clean and powerful extension of the OCaml standard library")
   (tags (stdlib containers iterators list heap queue))
   (depends
-    (ocaml (>= 4.08))
-    either
+    (ocaml (>= 4.12.0))
     dune-configurator
     (qcheck-core (and (>= 0.18) :with-test))
     (yojson :with-test)
diff --git a/src/core/dune b/src/core/dune
index cc17ce8..38cd1d5 100644
--- a/src/core/dune
+++ b/src/core/dune
@@ -6,7 +6,7 @@
   (action
    (run %{project_root}/src/core/cpp/cpp.exe %{input-file})))
  (flags :standard -nolabels -open CCMonomorphic)
- (libraries either containers.monomorphic))
+ (libraries containers.monomorphic))
 
 (ocamllex
  (modules CCSexp_lex))