From 33bc86c566b4e2418c17e063c7417beca30476ef Mon Sep 17 00:00:00 2001 From: Estevan Castilho Date: Thu, 8 Oct 2026 00:09:45 +0000 Subject: A better print representation --- lib/protocols/Handle.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/protocols') diff --git a/lib/protocols/Handle.ml b/lib/protocols/Handle.ml index cdadd4a..2514a7f 100644 --- a/lib/protocols/Handle.ml +++ b/lib/protocols/Handle.ml @@ -40,7 +40,7 @@ let copy handle = let equal h1 h2 = Concepts.Hash.hash_equals (object_of h1)#hash (object_of h2)#hash let hash h = (object_of h)#hash let protocols h = (object_of h)#protocols -let to_string h = (object_of h)#to_string +let to_string h = let o = (object_of h) in "#<" ^ o#to_string ^ " " ^ (Concepts.Hash.to_hum_string o#hash) ^ ">" let release ({valid; _} as handle) = let o = object_of handle in -- cgit v1.2.3