ghc stackfaults

Arie Peterson ariep at xs4all.nl
Sun May 20 10:23:58 EDT 2007


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.


Regards,

Arie

-- 

Just follow the magic footprints.




More information about the Glasgow-haskell-users mailing list