Source

ocaml-indent / test_comma.ml

let               (* let: = cur+4 *)
    x y = 1,
  2

let x 
    y = 1,
  2

let x y
    = 1,
  2

let x y =        (* =: = let+2 *)
  1, 2

let x y = 1
  , 2            (* geez *)

let x = let      (* let: = cur+4 *)
    y =          (* =: = let+2 *)
          2      
        in       (* in: = let *)
        1

let f = fun
  x
-> 2

let f = fun
    x
-> 2

module X =
  struct
  end