Files
helix/tests/query/highlights/ocaml/constructs.ml
2026-06-20 14:49:53 +09:00

11 lines
252 B
OCaml

type shape = Circle of float
(* ^ @constructor *)
let area s = match s with
(* ^ @function *)
| Rectangle r -> r
(* ^ @constructor *)
let p = { name = 1 }
(* ^ @variable.other.member *)
module M = struct end
(* ^ @namespace *)