On Sun, May 20, 2007 at 04:23:58PM +0200, Arie Peterson wrote: > John Meacham wrote: > > | ghc 6.6 and 6.6.1 both go into infinite loops and eventually die with a > | stackfault when trying to compile the attached file with optimizations > | turned on. > | > | [...] > | > | > -- A term, can have values > | > newtype T v = V (T v) > | > deriving(Eq,Show,Ord) > > This seems strange. Shouldn't it be 'newtype T v = T (V v)'? > > I can imagine ghc running in circles trying to derive instances for T.
Ah, yes. that was a typo and removing it fixes the problem. Cool. Though, still a minor bug in ghc I guess. John -- John Meacham - ⑆repetae.net⑆john⑈ _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users