File: disable_local_let.ml.ref

package info (click to toggle)
ocamlformat 0.28.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,436 kB
  • sloc: ml: 63,321; pascal: 4,769; lisp: 229; sh: 217; makefile: 121
file content (35 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (7)
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
let f () =
  let [@ocamlformat "disable"] x = y
  in
  ()

let f () =
  let x = y [@@ocamlformat "disable"]
  in
  ()

let f () = let open [@ocamlformat "disable"] X
  in
  ()

let f () = let module [@ocamlformat "disable"] X = Y
  in
  ()

let f () = let exception [@ocamlformat "disable"] X
  in
  ()

class c = let open [@ocamlformat "disable"] X
  in
  x

class c =
  let [@ocamlformat "disable"] x = y
  in
  object end

class type c =
  let open [@ocamlformat "disable"] X
  in
  x