Hi,
I have the following problem:
Vertex3 ist defined as
data Vertex3 a = Vertex3 a a a
a is defined as
class a VertexComponent
But I fail to write to following correct
type GLVertex = (GLfloat, GLfloat, GLfloat)
toVertex :: GLVertex -> Vertex3 a how do it correctly
toVertex (x,y,z) =
Hi,
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
Hi,
I agree. It would be nice to have also a Iterator interface for the
AST, i.e. for jump to next/previous symbol of a special kind. Also
information about the caller of a symbol would be nice (I don't know if
that is already part of the compiler manager interface).
I'm interested in code
Hi,
Am 18.01.2004 um 11:31 schrieb Ketil Malde:
[EMAIL PROTECTED] (Hans Nikolaus Beck) writes:
in order to build a programming environement, it would be nice to ask
the GHC about symbols etc found in a given Haskell program.
I suppose a programming environment could talk to GHCi (which provides
Hi,
in order to build a programming environement, it would be nice to ask
the GHC about symbols etc found in a given Haskell program. I've read
that GHC has a interface, which was originally intended to plug in
other backends. But I've never found a detailed description or API
Can someone
Hi,
thank you, it's seems very helpful :-))
Greetings
Hans
Am 18.01.2004 um 00:31 schrieb Donald Bruce Stewart:
HNBeck:
Hi,
in order to build a programming environement, it would be nice to ask
the GHC about symbols etc found in a given Haskell program. I've read
that GHC has a interface,
Hi,
Could the XCode Tool from Mac Os X Panther be forced to use ghc instead
of gcc ? I've found no option to do so, help says nothing about
switching a compiler...
Greetings
Hans
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
Hi,
as far as I understand now, for my compiliing problem (see last past
with same subject) I must do
ghc -package OpenGL -package GLUT --make Cube.hs
and in the code doing
import OpenGL
import GLUT
Right so far ?
But it seems that the package description in the GHC 6.2 distribution
is not