package ocaml-base-compiler

Part of the compiler
  1. Overview
  2. Docs
Official release 4.14.5

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml_4.14.5.tar.gz
sha256=608c30e5b97fc4568741db8e5e674a5a081ef08a3c4d17172deb1dc6c8825037

doc/ocamlcommon/Shape/Sig_component_kind/index.html

Module Shape.Sig_component_kind

type t =
  1. | Value
  2. | Type
  3. | Module
  4. | Module_type
  5. | Extension_constructor
  6. | Class
  7. | Class_type
val to_string : t -> string
val can_appear_in_types : t -> bool

Whether the name of a component of that kind can appear in a type.