Module Js_of_ocaml_compiler.Primitive
val is_pure : string -> bool
val exists : string -> bool
type kind = [
| `Pure
| `Mutable
| `Mutator
]
type kind_arg = [
| `Shallow_const
| `Object_literal
| `Const
| `Mutable
]
type condition = [
| `If of string
| `Ifnot of string
]
type t = [
| `Requires of string list
| `Provides of string * kind * kind_arg list option
| `Version of ((int -> int -> bool) * string) list
| `Weakdef
| `Always
| `Alias of string
| condition
]
val kind : string -> kind
val kind_args : string -> kind_arg list option
val register : string -> kind -> kind_arg list option -> int option -> unit
val arity : string -> int
val has_arity : string -> int -> bool
val alias : string -> string -> unit
val resolve : string -> string
val add_external : string -> unit
val need_named_value : string -> bool
val register_named_value : string -> unit