package melange-compiler-libs

  1. Overview
  2. Docs

Lambda simplification.

Warning: this module is unstable and part of compiler-libs.

val simplify_lambda : Lambda.lambda -> Lambda.lambda
val split_default_wrapper : id:Ident.t -> kind:Lambda.function_kind -> params:(Ident.t * Lambda.value_kind) list -> return:Lambda.value_kind -> body:Lambda.lambda -> attr:Lambda.function_attribute -> loc:Lambda.scoped_location -> (Ident.t * Lambda.lambda) list
OCaml

Innovation. Community. Security.