aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode/ocp-indent/out.ml
blob: dddb26baa09660ebc1133a9a447ac8457c6b6ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
(* https://github.com/OCamlPro/ocp-indent/blob/master/tests/failing/list_of_funs.ml *)

let f x =
  (fun x -> x [ (fun () -> 3) ;
                (fun () -> 4) ])

let f x = (fun x -> x [ (fun () -> 3) ;
                        (fun () -> 4) ])

let f x =
  x [ (fun () -> 3) ;
      (fun () -> 4) ]

let f x =
  [ (fun () -> 3) ;
    (fun () -> 4) ]

let f x =
  (fun x -> x [ (fun () ->
       3) ;
       (fun () -> 4) ])

let f x = (fun x -> x [ (fun () ->
    3) ;
    (fun () -> 4) ])

let f x =
  x [ (fun () ->
      3) ;
      (fun () -> 4) ]

let f x =
  [ (fun () ->
        3) ;
    (fun () -> 4) ]