diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-10-31 02:27:40 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2026-10-31 02:27:40 -0300 |
| commit | e76cc6f862656a3ada9fa3d4418bd060df937885 (patch) | |
| tree | be96ff723c1d45c79b1df0fbeb1de9fbd974eea4 /lib/protocols/Indexed.mli | |
| parent | 1c6c4ef41d97c0696c5c8654e08ffdfe65a18823 (diff) | |
| download | RNT-e76cc6f862656a3ada9fa3d4418bd060df937885.tar.gz RNT-e76cc6f862656a3ada9fa3d4418bd060df937885.zip | |
format and where claude on fol
Diffstat (limited to 'lib/protocols/Indexed.mli')
| -rw-r--r-- | lib/protocols/Indexed.mli | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/protocols/Indexed.mli b/lib/protocols/Indexed.mli new file mode 100644 index 0000000..5c8d97d --- /dev/null +++ b/lib/protocols/Indexed.mli @@ -0,0 +1,17 @@ +type t + +class type implementation = object + method indexes : string list + method lookup : string -> Concepts.Value.value -> (Handle.t, Concepts.Condition.condition) result +end + +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 indexes : t Handle.interface -> string list + +val lookup : + t Handle.interface -> + string -> + Concepts.Value.value -> + (Handle.t, Concepts.Condition.condition) result |
