From 6ee07ed9d166c4a58cd76cd101d49954dfe4be14 Mon Sep 17 00:00:00 2001 From: ·𐑑𐑴𐑕𐑑𐑩𐑀 Date: Sat, 13 Dec 2025 15:05:14 +0000 Subject: add show to name --- lib/name.ml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/name.ml b/lib/name.ml index abf6e96..b78cf5f 100644 --- a/lib/name.ml +++ b/lib/name.ml @@ -15,6 +15,8 @@ module Name = struct (* it’s okay to have fun *) Fmt.pf fmt "γ€Œ%s」" (take name) + let show = Fmt.str "%a" pp + (* String.compare but with nixpkgs at the top *) let compare (Name a) (Name b) = let prio x = -- cgit v1.2.3