-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Labels
Description
The placement of a comma looks weird.
➜ /tmp cat a.ml
let rez =
[%type:
( [%t ptyp_constr ~loc lident (List.map names ~f:(ptyp_var ~loc))]
, [%t ptyp_constr ~loc lident_g (List.map names_2 ~f:(ptyp_var ~loc))] )
OCanren.Reifier.t]
➜ /tmp ocamlformat a.ml
let rez =
[%type:
( [%t ptyp_constr ~loc lident (List.map names ~f:(ptyp_var ~loc))]
, [%t ptyp_constr ~loc lident_g (List.map names_2 ~f:(ptyp_var ~loc))] )
OCanren.Reifier.t]
;;
➜ /tmp ocamlformat --version
0.25.1
➜ /tmp opam install ocamlformat.0.26.1
...
Done.
➜ /tmp ocamlformat a.ml
let rez =
[%type:
( [%t ptyp_constr ~loc lident (List.map names ~f:(ptyp_var ~loc))]
, [%t ptyp_constr ~loc lident_g (List.map names_2 ~f:(ptyp_var ~loc))] )
OCanren.Reifier.t]
;;
➜ /tmp ocamlformat --version
0.26.1
➜ /tmp cat .ocamlformat
profile=janestreet