Re: Reasons behind the one instance per type limitation

2001-10-10 Thread Diego Dainese
On Wed, 10 Oct 2001 11:20:43 +1300 Brian Boutel [EMAIL PROTECTED] wrote: Iavor S. Diatchki wrote: hello, Why aren't instance declarations handled by the module system like every other symbol, so that a module can decide when to import an instance declaration and when to export

Re: Reasons behind the one instance per type limitation

2001-10-09 Thread Diego Dainese
On Mon, 8 Oct 2001 15:03:15 -0700 Ashley Yakeley [EMAIL PROTECTED] wrote: At 2001-10-08 09:27, Diego Dainese wrote: what are the reasons behind the rule stating that a type must not be declared as an instance of a particular class, more than once in the program? It's so that the members

Re: Reasons behind the one instance per type limitation

2001-10-09 Thread Iavor S. Diatchki
hello, Why aren't instance declarations handled by the module system like every other symbol, so that a module can decide when to import an instance declaration and when to export it? Are there technical difficulties with this approach? i beleive the reason is that instances don't have

Re: Reasons behind the one instance per type limitation

2001-10-09 Thread Brian Boutel
Iavor S. Diatchki wrote: hello, Why aren't instance declarations handled by the module system like every other symbol, so that a module can decide when to import an instance declaration and when to export it? Are there technical difficulties with this approach? i beleive the

Reasons behind the one instance per type limitation

2001-10-08 Thread Diego Dainese
Hi, what are the reasons behind the rule stating that a type must not be declared as an instance of a particular class, more than once in the program? Thanks in advance, -- Diego To reply remove the 2 `x' from the address. ___ Haskell-Cafe mailing