[Haskell] really undecidable instances?
simonpj at microsoft.com
Mon Oct 17 09:57:44 EDT 2005
This one can't. But it's hard to formulate a general rule.
-fallow-undecidable-instances simply says that you, the programmer, take
responsibility for termination. Without the flag, GHC uses a simple but
sometimes over-conservative rule
| -----Original Message-----
| From: haskell-bounces at haskell.org [mailto:haskell-bounces at haskell.org]
On Behalf Of Wolfgang
| Sent: 17 October 2005 14:17
| To: Haskell ML
| Subject: [Haskell] really undecidable instances?
| what ist the problem with instance declarations like the following:
| instance C Int a => D Char [a]
| Why are such declarations only allowed with
| GHC? How can they result in undecidability?
| Best wishes,
| Haskell mailing list
| Haskell at haskell.org
More information about the Haskell