Malcolm Matalka
2016-09-15 19:01:16 UTC
I have the following code that I'm using ocp-indent to indent:
let () =
match Random.int 10 with
| 1 -> begin
zoom ();
baz ()
end
| 2 ->
()
The zoom and baz are indented "double", and I cannot figure out how to
undo that. I'd like the begin/end to have no effect on indentation at
all. Is this a bug or am I doing something wrong?
/Malcolm
let () =
match Random.int 10 with
| 1 -> begin
zoom ();
baz ()
end
| 2 ->
()
The zoom and baz are indented "double", and I cannot figure out how to
undo that. I'd like the begin/end to have no effect on indentation at
all. Is this a bug or am I doing something wrong?
/Malcolm
--
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs