[Haskell-cafe] GHC 6.6 hangs

Gleb Alexeyev gleb.alexeev at gmail.com
Wed Apr 11 06:10:55 EDT 2007

Dmitry Antonyuk (lomeo) came up with a piece of code that hung GHC 6.6:

newtype Foo a = Foo (Foo a -> a)
bar x@(Foo f) = f x
baz = bar (Foo bar)

See the original discussion (in Russian) at:

More information about the Haskell-Cafe mailing list