diff options
author | Malte Voos <git@mal.tc> | 2024-06-23 23:31:59 +0200 |
---|---|---|
committer | Malte Voos <git@mal.tc> | 2024-06-24 00:16:55 +0200 |
commit | 5d227bcd0055d02e1d49a3dcd27e80a756923d5b (patch) | |
tree | da468ad3a8f3caf709b731ca2678c86a5a015990 /lib/Ident.ml | |
parent | 8d40541003736d5319ec981278338e8c8c66daf6 (diff) | |
download | toytt-5d227bcd0055d02e1d49a3dcd27e80a756923d5b.tar.gz toytt-5d227bcd0055d02e1d49a3dcd27e80a756923d5b.zip |
split code into smaller libraries and make a better repl
Diffstat (limited to 'lib/Ident.ml')
-rw-r--r-- | lib/Ident.ml | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Ident.ml b/lib/Ident.ml deleted file mode 100644 index 81c6575..0000000 --- a/lib/Ident.ml +++ /dev/null @@ -1,9 +0,0 @@ -type t = Yuujinchou.Trie.path - -type local = string option - -let to_local : t -> local option = function - | name :: [] -> Some (Some name) - | _ -> None - -let pp = Fmt.list ~sep:(Fmt.const Fmt.char '.') Fmt.string |