From c284fcd570342c31bc21169960579a20a763e32e Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Tue, 23 Jun 2026 23:53:26 -0300 Subject: Format --- lib/qualified_name.mli | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/qualified_name.mli') diff --git a/lib/qualified_name.mli b/lib/qualified_name.mli index 0e39ff2..15f80d1 100644 --- a/lib/qualified_name.mli +++ b/lib/qualified_name.mli @@ -3,16 +3,14 @@ The first colon separates the multigroup name from the relation name; any further colons are part of the relation name verbatim. *) -type t = { mg : string; name : string } +type t = {mg: string; name: string} exception Unqualified of string +(** Splits on the first [:]. Raises [Unqualified] when no mg segment is present + (i.e. no colon, or empty mg / empty name). *) val parse : string -> t -(** Splits on the first [:]. Raises [Unqualified] when no mg segment is - present (i.e. no colon, or empty mg / empty name). *) val try_parse : string -> (t, Condition.t) result - val make : mg:string -> name:string -> t - val to_string : t -> string -- cgit v1.2.3