[Haskell] ANNOUNCE: GHC version 7.6.1

Bas van Dijk v.dijk.bas at gmail.com
Fri Sep 7 11:01:12 CEST 2012


On 6 September 2012 18:05, Ian Lynagh <ian at well-typed.com> wrote:
> The GHC Team is pleased to announce a new major release of GHC, 7.6.1.

Great!

>   * It is now possible to defer type errors until runtime using the
>     -fdefer-type-errors flag.

In section 7.13.1 it says:

...given the following code:

x :: Int
x = 0

y :: Char
y = x

z :: Int
z = y

evaluating x will result in a runtime type error.

Shouldn't this be:

evaluating z will result in a runtime type error.

Cheers,

Bas



More information about the Haskell mailing list