package ocaml-base-compiler

  1. Overview
  2. Docs
type t
val create : let_rec_ident:Ident.t option -> closure_bound_var:Variable.t -> kind:Lambda.function_kind -> params:Ident.t list -> body:Lambda.lambda -> attr:Lambda.function_attribute -> loc:Lambda.scoped_location -> t
val let_rec_ident : t -> Ident.t
val closure_bound_var : t -> Variable.t
val kind : t -> Lambda.function_kind
val params : t -> Ident.t list
val body : t -> Lambda.lambda
val inline : t -> Lambda.inline_attribute
val specialise : t -> Lambda.specialise_attribute
val is_a_functor : t -> bool
val stub : t -> bool
val free_idents : t -> Ident.Set.t