'What does .. (double period) mean in OCaml?

I'm looking at the following code:

  type (_, _, _) t = ..

and can't find anything about it



Solution 1:[1]

It's an extensible variant type.

A variant type that can be extended later on. Copying the example from the doc:

type attr = ..

type attr += Str of string

type attr +=
  | Int of int
  | Float of float

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Chris