ghc hangs during compilation
The following code causes both ghc-6.4.20050209 and
ghc-6.2.2 to hang during compilation.
newtype S = S { unS :: S -> S }
y :: S -> S
y (S f) = g (S g) where g h = f (unS h h)
Thomas Jäger <ThJaeger@gmail.com>
Trac metadata
| Trac field | Value |
|---|---|
| Version | None |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedNoReason |
| Component | Compiler (Type checker) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |