On Thu, Oct 02, 2003 at 06:35:10PM -0700, Iavor Diatchki wrote: > hugs crashes if one tries to define unix: > > > unix = undefined > > INTERNAL ERROR: compileGlobalFunction
I presume you have -F set to run the C preprocessor on source files (and unix is predefined in there to 1). So the real bug here is that 1 = undefined gives the above error. > another interesting thing occurs if the following is added: > > > f = test' unix > > test' = undefined > > then one gets an undefined variable: > > ERROR "test.lhs":11 - Undefined variable "unix" > > however this does not seem to happen if the ' is not there The pair of single quotes protects this unix from the preprocessor. _______________________________________________ Hugs-Bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/hugs-bugs