diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-09-25 21:51:33 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2026-09-25 21:51:33 -0300 |
| commit | 584fbca6d920e9a9f91d451667f9380714ac2175 (patch) | |
| tree | a163b916a6f8cb550c8b38ceb01ab01558687a40 /lib/protocols/Cursor.mli | |
| parent | c7b754e96714eeeb9d315ee3de402d73a27d47db (diff) | |
| download | RNT-584fbca6d920e9a9f91d451667f9380714ac2175.tar.gz RNT-584fbca6d920e9a9f91d451667f9380714ac2175.zip | |
dune fmt
Diffstat (limited to 'lib/protocols/Cursor.mli')
| -rw-r--r-- | lib/protocols/Cursor.mli | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/protocols/Cursor.mli b/lib/protocols/Cursor.mli index c977fec..ff6c027 100644 --- a/lib/protocols/Cursor.mli +++ b/lib/protocols/Cursor.mli @@ -1,6 +1,4 @@ -type batch = - {tuples: Concepts.Tuple.t BatFingerTree.t; exhausted: bool} - +type batch = {tuples: Concepts.Tuple.t BatFingerTree.t; exhausted: bool} type t class type implementation = object @@ -11,13 +9,10 @@ val make : #implementation -> Handle.protocol val from : Handle.t -> t Handle.interface option val require : Handle.t -> (t Handle.interface, Concepts.Condition.condition) result val fetch : t Handle.interface -> int -> (batch, Concepts.Condition.condition) result - val next : t Handle.interface -> (Concepts.Tuple.t option, Concepts.Condition.condition) result val exists : - t Handle.interface -> - (Concepts.Tuple.t -> bool) -> - (bool, Concepts.Condition.condition) result + t Handle.interface -> (Concepts.Tuple.t -> bool) -> (bool, Concepts.Condition.condition) result val drain : t Handle.interface -> |
