Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val parsetree_of_string : string -> Parsetree.structure Monad_error.ErrS.t
If the string is a valid OCaml code, return its parsetree.
val type_with_init :
Parsetree.structure ->
Typedtree.structure Monad_error.ErrS.t
Typecheck a parsetree with the initial environement.
Check if a value_binding
is a variable with the given name.
val get_specific_lambda_of_typedtree :
string ->
Typedtree.structure ->
Lambda.lambda Monad_error.ErrS.t
Extract a specific let binding in a typedtree, and transform it into a lambda expression.
Find a specific toplevel let-definition.
val read_structure_with_loc :
?prefix:string ->
Typedtree.structure ->
((string * Location.t) * Lambda.lambda) list
Return all let bindings of a typedtree converted in lambda expression plus its location.
Return all let bindings of a typedtree converted in lambda expressions.
Read a valid OCaml fragment and compile every toplevel definitions to Lambda.