Hi all,
I'm trying to trace a function: Poly/ML RTS version I386-4.1.3 (13:57:33 Sep 30 2002) Copyright (c) 2002 CUTS and contributors. Running with heap parameters (h=10240K,ib=2048K,ip=100%,mb=6144K,mp=20%) WARNING:/usr/local/polyml/x86-linux/ML_dbase: Write permission denied. WARNING:/usr/local/polyml/x86-linux/ML_dbase: Opened for reading only. Mapping /usr/local/polyml/x86-linux/ML_dbase Poly/ML 4.1.3 Release
trace true;
Error: Value or constructor (trace) has not been declared Found near trace(true)
Static errors (pass2)
Any ideas why this happens?
Cheers,
On Tuesday, May 4, 2004, at 22:35 Europe/London, Paulo Jorge de Oliveira Cantante de Matos wrote:
Hi all,
Poly/ML 4.1.3 Release
trace true;
Error: Value or constructor (trace) has not been declared Found near trace(true)
Static errors (pass2)
Any ideas why this happens?
You need to open PolyML.Debug. You also need to compile the code with debugging on: PolyML.Compiler.debug := true;
See http://www.polyml.org/docs/Debugging.html for a description.
It is a general policy in Poly/ML and ML implementations in general that the value and type namespaces are kept to a minimum. Any extensions are by way of structures or functors so it will almost always be necessary to open a structure to use something like this.
Regards, David.