summaryrefslogtreecommitdiff
path: root/lib/query/intf.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-04-04 09:13:20 +0200
committerSébastien Dailly <sebastien@dailly.me>2026-04-04 09:13:20 +0200
commitae4814880d7a2ad9c96e8f4001edf5032b9a7fb2 (patch)
treef56f5858a8ea36a6a5fecd10479997e714aa9855 /lib/query/intf.ml
parent4af7d2f6ff8b38365c97a89c295710f5ed3266f5 (diff)
small refactoring
Diffstat (limited to 'lib/query/intf.ml')
-rw-r--r--lib/query/intf.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/query/intf.ml b/lib/query/intf.ml
index 10e78b0..4c09eef 100644
--- a/lib/query/intf.ml
+++ b/lib/query/intf.ml
@@ -75,8 +75,9 @@ type t = T : _ tuple -> t [@@unboxed]
module type Encoder = sig
type 'a t
+ type env
- val f : 'a data -> 'a t
+ val f : env -> 'a data -> 'a t
val unit : unit t
val t2 : 'a t -> 'b t -> ('a * 'b) t
val t3 : 'a t -> 'b t -> 'c t -> ('a * 'b * 'c) t