Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Minicaml.Typecheckval typeof : Types.evt -> Types.typeinfoval infer_lowest_numbert : Types.typeinfo -> Types.evt list -> Types.typeinfoGet the lowest (most inclusive set) number type from a list of numbers
val cast_numbert : Types.typeinfo -> Types.evt -> Types.evtval flatten_numbert_list : Types.evt list -> Types.typeinfo * Types.evt listAccept a list of numbers and flatten out their kind on the numerical tower hierarchy
val stcheck : Types.typeinfo -> Types.typeinfo -> unitval sinfer : Types.expr -> Types.evalstate -> Types.typeinfoStatic typechecking inferer
Unpacking functions: extract a value or throw an err
val unpack_int : Types.evt -> intval unpack_float : Types.evt -> floatval unpack_complex : Types.evt -> Types.complextval unpack_bool : Types.evt -> boolval unpack_string : Types.evt -> stringval unpack_closure :
Types.evt ->
Types.ide option * Types.ide * Types.expr * Types.env_type