Module Vcaml.Type

A Type.t is a reified values of a primitive type used in nvim.

type 'ty t =
| Nil : unit t
| Integer : int t
| Boolean : bool t
| Array : 'a t -> 'a list t
| Tuple : 'a t * int -> 'a list t
| Dict : (Msgpack.t * Msgpack.t) list t
| String : string t
| Buffer : Buf.t t
| Tabpage : Tabpage.t t
| Window : Window.t t
| Object : Msgpack.t t
| Custom : {
of_msgpack : Msgpack.t -> 'a Core.Or_error.t;
to_msgpack : 'a -> Msgpack.t;
} -> 'a t