package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.8-505.tbz
sha256=5642cde8486a84aad98fa5c590b70e8dcc6074d7fbdb3b9b8c46b2c5b42f653b
sha512=1d7a7751157e393d3ae248ef5ae24a6b4e81430666c61cc51a3d0ec35804523317036f3d7a3c7f18a7554337f4e5f5989fb677865b261ece3fd2b317903570ba

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

Module Ocaml_typing.DatareprSource

Sourceval constructors_of_type : current_unit:Ocaml_parsing.Unit_info.t option -> Path.t -> Types.type_declaration -> (Ident.t * Data_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