Here's a little problem to do with operator precedences (Hugs 1.4, 970719).

module A where
infix 1 #
...
----------
module B where
import A
...
----------
module C where
import B
infix 2 #
...

This should be legal because the version of (#) in A is not imported into C. 
However, Hugs complains that the precedence of (#) is being changed.  I
suspect that Hugs only allows one precedence for an operator symbol among all
the currently loaded modules; is that right?

Thanks,

Ian                                [EMAIL PROTECTED],  Tel: 0117 9545148

Reply via email to