package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-4.17.1-501.tbz
sha256=376707aa871f09e9639456d3fbe4b89a21c9ad75c774e94cbbbe67f842b0a500
sha512=a11ea4b8e3520b3ee41ae8198cda34b2816b8dfcdcb99350ef29689a7d62bb66d17ffa075c551aa56d521120b55e6db14a106a31f7b3970ed2aa07e1db3c9b88

doc/merlin-lib.ocaml_typing/Ocaml_typing/Primitive/index.html

Module Ocaml_typing.PrimitiveSource

Sourcetype boxed_integer =
  1. | Pnativeint
  2. | Pint32
  3. | Pint64
Sourcetype native_repr =
  1. | Same_as_ocaml_repr
  2. | Unboxed_float
  3. | Unboxed_integer of boxed_integer
  4. | Untagged_int
Sourcetype description = private {
  1. prim_name : string;
  2. prim_arity : int;
  3. prim_alloc : bool;
  4. prim_native_name : string;
  5. prim_native_repr_args : native_repr list;
  6. prim_native_repr_res : native_repr;
}
Sourceval simple : name:string -> arity:int -> alloc:bool -> description
Sourceval make : name:string -> alloc:bool -> native_name:string -> native_repr_args:native_repr list -> native_repr_res:native_repr -> description
Sourceval parse_declaration : Ocaml_parsing.Parsetree.value_description -> native_repr_args:native_repr list -> native_repr_res:native_repr -> description
Sourceval native_name : description -> string
Sourceval byte_name : description -> string
Sourceval equal_boxed_integer : boxed_integer -> boxed_integer -> bool
Sourceval equal_native_repr : native_repr -> native_repr -> bool
Sourceval native_name_is_external : description -> bool

native_name_is_externa returns true iff the native_name for the given primitive identifies that the primitive is not implemented in the compiler itself.

Sourcetype error =
  1. | Old_style_float_with_native_repr_attribute
  2. | Old_style_noalloc_with_noalloc_attribute
  3. | No_native_primitive_with_repr_attribute
OCaml

Innovation. Community. Security.