Re: [Haskell] Re: ANNOUNCE: GHC version 6.8.2

2007-12-27 Thread Claus Reinke
[if this thread has to keep running, could you please drop me of the cc? and how did it manage to end up on haskell@ - that is the wrong list ] In that case, though, would you happen to know which value in the registry would allow me to override HOMEPATH for GHCi? if you go to the beginning of

Re: [Haskell] Empty instance declaration

2007-12-27 Thread Jorge Marques Pelizzoni
> > instance Show WeekDay where > (empty) You see, an empty instance like that may serve various purposes. In type-level programming, for example, they (roughly) correspond to facts in logic programming. However, in the case at hand, this is what happens: the doc for class Show reads thus: "Mini

[Haskell] Empty instance declaration

2007-12-27 Thread Hugo Macedo
Dear all A student from a beginners course on Functional Programming came to me with a problem, he declared a type like: data WeekDay = Mon | Tue | Fri -- ... He had forgot to complete a Show instance definition. instance Show WeekDay where (empty) Then he complained about getting *** Excepti