From: Peter J. <pe...@jo...> - 2004-01-11 00:33:33
|
It appears that the Std.input_list function always returns [] when called from native code: $ cat > test.ml let c = open_in "test.ml" in let l = Std.input_list c in print_int (List.length l); close_in c $ ocamlc -o ex extLib.cma test.ml && ./ex 4 $ ocamlopt -o ex extlib.cmxa test.ml && ./ex 0 This is with ExtLib 1.0b (with the Obj.set_field fix applied to std.ml) and OCaml 3.07. |