[cvs-nhc98] patch applied (hat): Renamed many functions of nhc98
runtime system.
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:16:35 EDT 2006
Sun Apr 28 10:40:12 PDT 2002 olaf
* Renamed many functions of nhc98 runtime system.
Unfortunately the C-name space is literated with lots of functions from the nhc98 runtime environment. User defined C foreign functions can easily conflict with the runtime functions. Prefixed all functions mentioned in include/mkByHand.h and include/mkByProg.h with nhc98_ to ameliorate problem.
Hopefully all uses have been renamed as well, but missed occurrences are only noticeable at link time, when the using module is needed. Hence some occurrences may still need renaming... (most start with mk* or size*).
Runtime system and prelude needs to be rebuilt (later not done automatically by make).
M ./src/compiler98/Foreign.hs -20 +20
M ./src/hatlib/Hat.hs -6 +5
M ./src/hatlib/Ix.hs -1 +1
M ./src/hatlib/Makefile -2 +2
M ./src/hatlib/Random.hs -1 +1
M ./src/hatlib/TRandomBuiltin.hs +1
More information about the Cvs-nhc98
mailing list