Re: [Haskell-cafe] Re: OO in Haskell

2004-11-29 Thread Keean Schupke
Benjamin Franksen wrote: Of course, stupid me. Ok, I changed that. Still won't compile. I post only the first of four type errors (they are all about 40 lines long; note that the inferred type below is almost longer than the complete test program). You'd probably need this as well: {-# OPTION

[Haskell-cafe] Re: OO in Haskell

2004-11-29 Thread Benjamin Franksen
On Monday 29 November 2004 21:47, Keean Schupke wrote: > Benjamin Franksen wrote: > >I still have problems. They are probably due to a wrong definition of the > >operator (#). Note that (#) is nowhere defined inside the HList sources, > > so I assumed an inverse application operator. This is my pro

[Haskell-cafe] Re: OO in Haskell

2004-11-29 Thread Keean Schupke
Benjamin Franksen wrote: I still have problems. They are probably due to a wrong definition of the operator (#). Note that (#) is nowhere defined inside the HList sources, so I assumed an inverse application aoperator. This is my program now: No, # is the record selection operator from the HLi