output to draw_pp's ppf
This commit is contained in:
9
init.ml
9
init.ml
@ -3,13 +3,12 @@
|
||||
#directory "/home/cqc/p/console/boot/_build/default/.topinf.objs/byte";;
|
||||
open Topinf;;
|
||||
let print_directives () =
|
||||
Format.eprintf "directive_info_table:@.";
|
||||
Hashtbl.iter (fun n _ -> Format.eprintf "\t%s@." n) Topinf.directive_info_table;;
|
||||
Format.printf "directive_info_table:@.";
|
||||
Hashtbl.iter (fun n _ -> Format.printf "\t%s@." n) Topinf.directive_info_table;;
|
||||
|
||||
#directory "+compiler-libs";;
|
||||
|
||||
let print_modules () =
|
||||
Format.eprintf "Env.fold_modules:\n";
|
||||
Env.fold_modules (fun modname _ _ () -> Format.eprintf "\t%s@." modname) None !Topinf.toplevel_env ();;
|
||||
print_modules ();;
|
||||
Format.printf "Env.fold_modules !Topinf.toplevel_env :\n";
|
||||
Env.fold_modules (fun modname _ _ () -> Format.printf "\t%s@." modname) None !Topinf.toplevel_env ();;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user