package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-4.14-500.tbz
sha256=ec23f324f875520cd8897f303cc6d4e595f3d7000914d410729f16b86ad1d70e
sha512=8db22100cc0af65b08f456a2a7af84e75396f5869ee7552f1f5888a1c0279d1d85e6eecb3a677ae6f0973a99823cddba0563843ce216197255667342ef161885

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

Module Ocaml_typing.DatareprSource

Sourceval extension_descr : current_unit:string -> Path.t -> Types.extension_constructor -> Types.constructor_description
Sourceval constructors_of_type : current_unit:string -> Path.t -> Types.type_declaration -> (Ident.t * Types.constructor_description) list
Sourceexception Constr_not_found
Sourceval constructor_existentials : Types.constructor_arguments -> Types.type_expr option -> Types.type_expr list * Types.type_expr list

Takes cd_args and cd_res from a constructor_declaration and returns:

  • the types of the constructor's arguments
  • the existential variables introduced by the constructor
OCaml

Innovation. Community. Security.