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"
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" <shiin@gmx.de> To: <hugs-bugs@haskell.org> 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 Hugs-Bugs@haskell.org http://www.haskell.org/mailman/listinfo/hugs-bugs
participants (2)
-
Dennis Schieferdecker -
Sigbjorn Finne