
Hello,
You will be even more surpised to find out that:
bar = (fst foo, snd foo)
is considered correct. Does this hint give you any insight?
This tells me that GHC definitely has a bug, or at at best an infelicity. -Jeff --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

jeff.polakow:
Hello,
You will be even more surpised to find out that:
bar = (fst foo, snd foo)
is considered correct. Does this hint give you any insight?
This tells me that GHC definitely has a bug, or at at best an infelicity.
Hey Jeff, File a bug here as guest/guest: http://hackage.haskell.org/trac/ghc/newticket?type=bug Cheers, Don
participants (2)
-
Don Stewart
-
Jeff Polakow