The type signature is wrong. Try this.. toVertex :: GLVertex -> Vertex3 GLfloat
or perhaps.. toVertex :: (a,a,a) -> Vertex3 a
Regards
Yes this works (the first variant). Thanks ! But I must say that I have problems to understand the class mechanism in its full extend....
Greetings
Hans
_______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
