Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
env.ml1 2 3 4 5 6 7 8 9 10 11 12 13 14 15open Types let empty_env : unit -> env_type = fun _ -> [] let bind env ident value = (ident, value) :: env let rec bindlist env ident_list value_list = match (ident_list, value_list) with | ([], []) -> env | (i::ident_rest, v::value_rest) -> bindlist (bind env i v) ident_rest value_rest | _ -> raise WrongBindList