[Haskell] Re: ANNOUNCE: Frag: a First Person Shooting game

2005-11-27 Thread �rstadius
I cannot get Frag to compile. Running "ghc --make -O2 -fglasgow-exts main.hs" gives ... Compiling Quaternion ( ./Quaternion.hs, ./Quaternion.o ) Compiling ReadImage( ./ReadImage.hs, ./ReadImage.o ) ./ReadImage.hs:60: Type constructor or class not in scope: `PixelData' ./ReadIm

Re: [Haskell] Re: ANNOUNCE: Frag: a First Person Shooting game

2005-11-27 Thread Sven Panne
Am Sonntag, 27. November 2005 16:17 schrieb Daniel Xrstadius: > [...] I am using ghc 6.2.2. I have tried adding "-package > GLUT" to the command line, but still the same output. The problem comes from an API change in the OpenGL package about 2 years ago. Upgrading to a GHC 6.4.x should help. Ch

Re: Records (was Re: [Haskell] Improvements to GHC)

2005-11-27 Thread Rob Ennals
On 11/23/05, David Roundy <[EMAIL PROTECTED]> wrote: > On Tue, Nov 22, 2005 at 02:32:47PM +, Rob Ennals wrote: [snip] > > 1. Field namespaces: solved by using type classes > > But these classes are required to be manually specified, right? This avoids > the problem of proliferation of typeclas

Re: Records (was Re: [Haskell] Improvements to GHC)

2005-11-27 Thread John Lask
correct me if I am wrong but ... 1. Field namespaces: solved by using type classes This would imply that the type of the field is the same between all instances of this common field. Under this proposal two fields with same label and different type would not be possible eg { name :