mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
style
This commit is contained in:
parent
61b9762269
commit
4db9d4eccb
1 changed files with 2 additions and 2 deletions
|
|
@ -111,8 +111,8 @@ module Make(Sexp : SEXP) = struct
|
|||
let rec pp_noindent fmt t =
|
||||
Sexp.match_ t
|
||||
~atom:(fun s ->
|
||||
if _must_escape s then Format.fprintf fmt "\"%s\"" (String.escaped s)
|
||||
else Format.pp_print_string fmt s)
|
||||
if _must_escape s then Format.fprintf fmt "\"%s\"" (String.escaped s)
|
||||
else Format.pp_print_string fmt s)
|
||||
~list:(function
|
||||
| [] -> Format.pp_print_string fmt "()"
|
||||
| [x] -> Format.fprintf fmt "(%a)" pp_noindent x
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue