Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] ocp-indent begin/end behaviour?
@ 2016-09-15 19:01 Malcolm Matalka
  2016-09-19  9:39 ` Goswin von Brederlow
  2016-10-03  7:02 ` Louis Gesbert
  0 siblings, 2 replies; 3+ messages in thread
From: Malcolm Matalka @ 2016-09-15 19:01 UTC (permalink / raw)
  To: caml-list

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-03  7:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-15 19:01 [Caml-list] ocp-indent begin/end behaviour? Malcolm Matalka
2016-09-19  9:39 ` Goswin von Brederlow
2016-10-03  7:02 ` Louis Gesbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox