From 7ab3429e0f804e65c90b6275685a046db9c3bc14 Mon Sep 17 00:00:00 2001 From: Frank Emrich Date: Wed, 18 Oct 2023 13:33:03 +0100 Subject: [PATCH] require v0.16.0 or newer --- lens/column.ml | 3 ++- lens/database.ml | 3 ++- lens/sort.ml | 3 ++- lens/value.ml | 3 ++- links.opam | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lens/column.ml b/lens/column.ml index 2fd3bd4e9..cc045fe99 100644 --- a/lens/column.ml +++ b/lens/column.ml @@ -3,7 +3,8 @@ module Type = Phrase_type (* Workaround for issue #1187 (i.e., the @@deriving sexp clause on t below creates code triggering warning 40 otherwise) *) -open Sexplib0.Sexp_conv +open Sexplib0.Sexp_conv_record.Fields +open Sexplib0.Sexp_conv_record.Kind type t = { table : string; diff --git a/lens/database.ml b/lens/database.ml index 61e683f69..1fb7f26d3 100644 --- a/lens/database.ml +++ b/lens/database.ml @@ -4,7 +4,8 @@ module LPV = Phrase_value (* Workaround for issue #1187 (i.e., the @@deriving sexp clause on t below creates code triggering warning 40 otherwise) *) -open Sexplib0.Sexp_conv +open Sexplib0.Sexp_conv_record.Fields +open Sexplib0.Sexp_conv_record.Kind type t = { serialize : unit -> string; diff --git a/lens/sort.ml b/lens/sort.ml index e24638de7..b3481727f 100644 --- a/lens/sort.ml +++ b/lens/sort.ml @@ -4,7 +4,8 @@ module Column = Column (* Workaround for issue #1187 (i.e., the @@deriving sexp clause on t below creates code triggering warning 40 otherwise) *) -open Sexplib0.Sexp_conv +open Sexplib0.Sexp_conv_record.Fields +open Sexplib0.Sexp_conv_record.Kind type t = { fds : Fun_dep.Set.t; diff --git a/lens/value.ml b/lens/value.ml index f5ea3fdb6..67a50cddd 100644 --- a/lens/value.ml +++ b/lens/value.ml @@ -2,7 +2,8 @@ open Lens_utility (* Workaround for issue #1187 (i.e., the @@deriving sexp clause on t below creates code triggering warning 40 otherwise) *) -open Sexplib0.Sexp_conv +open Sexplib0.Sexp_conv_record.Fields +open Sexplib0.Sexp_conv_record.Kind type t = | Lens of { table : Database.Table.t; sort : Sort.t } diff --git a/links.opam b/links.opam index a9b2ee02d..ae354ac9d 100644 --- a/links.opam +++ b/links.opam @@ -35,7 +35,7 @@ depends: [ "result" "ocamlfind" "menhir" {>= "20210419"} - "ppx_sexp_conv" + "ppx_sexp_conv" {>= "v0.16.0"} "calendar" {>= "2.0.4"} "rdf_lwt" {>= "0.13.0"} ]