From: Simon Marlow Date: Wed, 13 Oct 2010 18:43:22 +0000 (+0000) Subject: tweaks X-Git-Tag: 2010-11-18~68 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0729e745e2f13888f9ccc76c10546a52e953fa6f;p=ghc-hetmet.git tweaks --- diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index 0b9771a..8020595 100644 --- a/docs/users_guide/ghci.xml +++ b/docs/users_guide/ghci.xml @@ -828,7 +828,7 @@ it <- e [] However, it is tiresome for the user to have to specify the type, so GHCi extends Haskell's type-defaulting - rules (Section 4.3.4 of the Haskell 98 Report (Revised)) as follows. The + rules (Section 4.3.4 of the Haskell 2010 Report) as follows. The standard rules take each group of constraints (C1 a, C2 a, ..., Cn a) for each type variable a, and defaults the type variable if diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 7ef2f2f..9d7875a 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -1398,6 +1398,7 @@ f "2" = 2 e.g., the ‘default default’ for Haskell 1.4 caused the otherwise unconstrained value 1 to be given the type Int, whereas Haskell 98 + and later defaults it to Integer. This may lead to differences in performance and behaviour, hence the usefulness of being non-silent about this.