From e76cc6f862656a3ada9fa3d4418bd060df937885 Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Sat, 31 Oct 2026 02:27:40 -0300 Subject: format and where claude on fol --- lib/protocols/Indexed.mli | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lib/protocols/Indexed.mli (limited to 'lib/protocols/Indexed.mli') 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 -- cgit v1.2.3