package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 5.2.1

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-5.2.1.tar.gz
sha256=2d0f8090951a97a2c0e5b8a11e90096c0e1791d2e471e4a67f87e3b974044cd0

doc/compiler-libs.common/Shape/Sig_component_kind/index.html

Module Shape.Sig_component_kind

type t =
  1. | Value
  2. | Type
  3. | Constructor
  4. | Label
  5. | Module
  6. | Module_type
  7. | Extension_constructor
  8. | Class
  9. | 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.

OCaml

Innovation. Community. Security.