diff options
| author | Β·ππ΄πππ©π€ | 2025-12-13 15:05:14 +0000 |
|---|---|---|
| committer | Β·ππ΄πππ©π€ | 2025-12-13 15:05:14 +0000 |
| commit | 6ee07ed9d166c4a58cd76cd101d49954dfe4be14 (patch) | |
| tree | c4ffc9b10614bf0669700e1ba00f7789d8791374 /lib | |
| parent | 879e9f98d08945abbf4a829e276bbdce0cafed6a (diff) | |
| download | nixtaml-6ee07ed9d166c4a58cd76cd101d49954dfe4be14.tar nixtaml-6ee07ed9d166c4a58cd76cd101d49954dfe4be14.tar.gz nixtaml-6ee07ed9d166c4a58cd76cd101d49954dfe4be14.tar.bz2 nixtaml-6ee07ed9d166c4a58cd76cd101d49954dfe4be14.tar.lz nixtaml-6ee07ed9d166c4a58cd76cd101d49954dfe4be14.tar.xz nixtaml-6ee07ed9d166c4a58cd76cd101d49954dfe4be14.tar.zst nixtaml-6ee07ed9d166c4a58cd76cd101d49954dfe4be14.zip | |
add show to name
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/name.ml | 2 |
1 files changed, 2 insertions, 0 deletions
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 = |
