ghc:
import Random(Random(randomR)) -- good
import Random(randomR) -- good
nhc: (1.16)
import Random(Random(randomR)) -- good
import Random(randomR) -- ERROR! nhc says randomR is not found.
I was wondering whether this was intentional and which was correct? I
much much prefer the ghc behavior since it lets you export methods
without exporting the class and lets you hide the implementation detail
of whether a function is implemented as a method or normal declaration.
John
--
John Meacham - ârepetae.netâjohnâ
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell