File: parens_tuple_patterns.ml

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 (9 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
let a, b = (1, 2)

let[@ocamlformat "parens-tuple-patterns=always"] (a, b) = (1, 2)

let[@ocamlformat "parens-tuple-patterns=always"] M.(a, b) = ()

let[@ocamlformat "parens-tuple-patterns=multi-line-only"] a, b = (1, 2)

let[@ocamlformat "parens-tuple-patterns=multi-line-only"] M.(a, b) = ()