Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Asak.Parse_structureval parsetree_of_string : string -> Parsetree.structure Monad_error.ErrS.tIf the string is a valid OCaml code, return its parsetree.
val type_with_init :
Parsetree.structure ->
Typedtree.structure Monad_error.ErrS.tTypecheck 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.tExtract 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) listReturn 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.