package ocaml-unikraft-arm64

  1. Overview
  2. Docs
OCaml cross compiler to the freestanding Unikraft arm64 backends

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.2.0.tar.gz
sha256=ca18a45ef86791d5ffa18436945fbec850b6f3dd68a6a62753b4cb1b6999b19a

doc/compiler-libs.common/Datarepr/index.html

Module Datarepr

val extension_descr : current_unit:Unit_info.t option -> Path.t -> Types.extension_constructor -> Data_types.constructor_description
val constructors_of_type : current_unit:Unit_info.t option -> Path.t -> Types.type_declaration -> (Ident.t * Data_types.constructor_description) list
exception Constr_not_found
val 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