INTERNAL ERROR: depTypeExp

Iavor Diatchki <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
hello,

here is (a simplifed version of) what i run into while playing with 
continuations.
i guess the important thing is the type sugnature, not the definition.

 > f :: ((forall b. b) -> Int) -> Int
 > f = f

on this hugs (version May 2003) reports:
INTERNAL ERROR: depTypeExp

i am a bit rusty on how one calculates the rank of a type,
but perhaps this is a rank-3 type?

bye iavor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.