[Haskell] Improvements to GHC

Joel Reymont joelr1 at gmail.com
Thu Nov 17 09:28:17 EST 2005


Don't get me started, please :-). I tried making each field a  
separate class but then needed to compose records of difference field  
instances which led to HList which led to GHC eating up all my memory  
and crashing, etc.

I can see where you are going but if I have 250 records with shared  
fields then that's a whole lot of extra boiler plate code to marshall  
between the functions with prefixes to the class method  
implementations. The road to hell is paved with good intentions ;-).

Thanks for the tip, though.

On Nov 17, 2005, at 2:12 PM, Fraser Wilson wrote:

> To solve this problem I just made them all instances of a class  
> with a gameId function.  Still, not ideal.

--
http://wagerlabs.com/







More information about the Haskell mailing list