package vcaml

  1. Overview
  2. Docs

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

type 'ty t =
  1. | Nil : unit t
  2. | Integer : int t
  3. | Boolean : bool t
  4. | Array : 'a t -> 'a list t
  5. | Tuple : 'a t * int -> 'a list t
  6. | Dict : (Msgpack.t * Msgpack.t) list t
  7. | String : string t
  8. | Buffer : Buf.t t
  9. | Tabpage : Tabpage.t t
  10. | Window : Window.t t
  11. | Object : Msgpack.t t
  12. | Custom : {
    1. of_msgpack : Msgpack.t -> 'a Core.Or_error.t;
    2. to_msgpack : 'a -> Msgpack.t;
    } -> 'a t
OCaml

Innovation. Community. Security.