Debian Codegraph @

tools/dune_rule_gen/arg.ml

raw symbols SCIP
1 (************************************************************************)
2 (* This file is licensed under The MIT License *)
3 (* See LICENSE for more information *)
4 (************************************************************************)
5
6 type t = A of string | Path of Path.t
7
8 let adjust ~lvl = function
9 | A arg -> A arg
10 | Path p -> Path (Path.adjust ~lvl p)
11
12 let to_string = function A arg -> arg | Path p -> Path.to_string p
13
14 module List = struct
15 let to_string args = List.map to_string args |> String.concat " "
16 end