Module Melange_compiler_libs.Translprim

let add_exception_ident: Ident.t => unit;
let remove_exception_ident: Ident.t => unit;
let clear_used_primitives: unit => unit;
let get_used_primitives: unit => list(Path.t);
let check_primitive_arity: Location.t => Primitive.description => unit;
type error =
  1. | Unknown_builtin_primitive(string)
  2. | Wrong_arity_builtin_primitive(string)
;
exception Error(Location.t, error);
let report_error: Stdlib.Format.formatter => error => unit;