Hi there, thanks for the report. I believe you're trying to use 'withRGB' using code like the following:
module Foo where import SOEGraphics bl = RGB 0 0 0 As you've guessed, due to the way the RGB type is exported from SOEGraphics you cannot actually see its constructor. You can fix this by having the export list of SOEGraphics say "RGB(..)" instead of just "RGB". hth --sigbjorn ----- Original Message ----- From: "Dennis Schieferdecker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 14:42 Subject: Bug with GraphicsLib > With the new version of Hugs98 (from November 2002) the GraphicsLib > produces some problems: > When using the withRGB function with the RGB datatype, Hugs doesn't > recognize this datatype. The error is probably due to the new > module-system, so that the RGB datatype doesn't get exportet. > -- > ciao > dennis > > "I hear and I forget, > I see and I remember, > I do and I understand" > > > _______________________________________________ > Hugs-Bugs mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/hugs-bugs _______________________________________________ Hugs-Bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/hugs-bugs
