[test interpreter] Fix external modules & fix List.fold_left
In eval_module
of interpreter.ml we don' preserve the environment when evaluating modules i.e we start with an empty environment every time, so previous environment is lost.
This MR preserves the environment.
Also this MR fixes a bug related to List.fold_left type in test interpreter
-
has a changelog entry
Edited by Melwyn Saldanha