File: variants.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 (15 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
type t =
  [ (* xx *) `(* yy *) A (* zz *) | (* xx *) `B (* zz *) | `(* yy *) C (* zz *) ]

let (* xx *) `(* yy *) A (* zz *) = x
let (* xx *) `B (* zz *) = x
let `(* yy *) C (* zz *) = x
let _ = (* xx *) `(* yy *) A (* zz *)
let _ = (* xx *) `B (* zz *)
let _ = `(* yy *) C (* zz *)

type t =
  [ `Fooooo
  | (* Other inline element markup. *)
    `Simple_reference of string
  | `Fooooo ]