Changes to ghc(2) base(4) haddock(9)

Changes to ghc:
commit 81fda827b2293ede526fe1f3eb04c133c14ee9fc
Author: Austin Seipp <austin@well-typed.com>
Date:   Mon Feb 17 06:48:04 2014 -0600

    Add comments explaining #8754

    Signed-off-by: Austin Seipp <austin@well-typed.com>

    (cherry picked from commit b626c3d4ce0e66216705ba8355c914dc809e3fe7)

commit e3dd1727db9b054527a9fbc0b84b78d44e79ec53
Author: Austin Seipp <austin@well-typed.com>
Date:   Sun Feb 16 19:10:16 2014 -0600

    Fix #8754 in a round-about way.

    For some reason on OS X, it seems like -Bsymbolic (which we use for
    hooks into the RTS) isn't working, which results in #8754, where stats
    don't work because defaultHooks doesn't initialize the stats flag. This
    seems to work on Linux static/dynamically, but only on OS X statically.

    After talking with Simon, really, the entire hooks thing is a bit
    fragile. For now, we just work around it (since GHCi is dynamically
    linked) by calling into the defaultHooks ourselves when GHC starts.

    Signed-off-by: Austin Seipp <austin@well-typed.com>

    (cherry picked from commit 5023c91780e90947680fe0640f7564a4f6448bea)

Changes to base:
commit 0f2e0b9e9c890865efc4f1ac8a917eaad777ae40
Author: Austin Seipp <aseipp@pobox.com>
Date:   Mon Feb 17 08:08:04 2014 -0600

    Fix T8766 numbers.

    As Joachim mentioned, the 7.8 branch doesn't have call-arity analysis,
    so the numbers here get a bit worse.

    Signed-off-by: Austin Seipp <aseipp@pobox.com>

commit c8c9ce665c42e4b68af6bc79d73ad0c9bd8afed9
Author: Joachim Breitner <mail@joachim-breitner.de>
Date:   Fri Feb 14 10:19:35 2014 +0000

    Wrong bug number

    the previous commit added a testcase for #8766, not #8374 -- too many
    tabs open.

    (cherry picked from commit f28ee96d7c246f78d5e8cb9c853f417e54ff3d91)

commit ba7f9ee6c17916aae0809af82928ab45794a8038
Author: Joachim Breitner <mail@joachim-breitner.de>
Date:   Fri Feb 14 10:17:52 2014 +0000

    Test case for #8374

    (cherry picked from commit d455e2dfb6d1a7b4b22784f0c49178bd346e15e0)

commit 45dccb9c862dac16e27813e189da5944647e38b7
Author: Joachim Breitner <mail@joachim-breitner.de>
Date:   Fri Feb 14 09:17:22 2014 +0000

    Improve list fusion for [n::Integer..m]

    enumFromTo for Integers goes via enumDeltaToInteger, which is less
    efficient, as the "delta > = 0" check prevents more inlining which is
    required for good fusion code. This rule avoids tihs check for the
    common case of "delta = 1", makes up_fb visible and hence inlineable,
    which greatly improves "length [n:Integer..m]"; even more so with
    CallArity enabled. (#8766)

    (cherry picked from commit a60eeccf06c28bee3b87c561450320d17c7399e3)

Changes to haddock:
commit 46d4c218d10d0ef9dd4c3ddcd550e4ea7ba5013f
Author: Niklas Haas <git@nand.wakku.to>
Date:   Sat Feb 15 08:41:40 2014 +0100

    Add test case for inter-module type/data family instances

    These should show up in every place where the class is visible, and
    indeed they do right now.

    Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
    (cherry picked from commit 6b35adfb811d9e41e5bfa1c11963e441740c2836)

commit e1d934d8c66a0a361bd811c1d7734a6432cc8007
Author: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
Date:   Thu Feb 13 23:57:16 2014 +0000

    Only warn about missing docs when docs are missing

    This fixes the ‘Missing documentation for…’ message for modules with
    100% coverage.

    (cherry picked from commit 50d1d18cc70cf6c8ffcf247743cd8af0ff9aae16)

commit f6280aec5d28bc49d5d6badc162d83745faf3f7e
Author: Niklas Haas <git@nand.wakku.to>
Date:   Thu Feb 13 22:21:36 2014 +0100

    Get rid of re-implementation of sortBy

    I have no idea what this was doing lying around here, and due to the
    usage of tuples it's actually slower, too.

    Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>

    (cherry picked from commit d86f68860c40d45d2cec94edd15d4bf4fc4292d8)

commit 67de012e25743cd07b116aa41b5a04f8e64fec10
Author: nand <git@nand.wakku.to>
Date:   Tue Feb 11 16:51:27 2014 +0100

    Add test case for PatternSynonyms

    This just tests various stuff including poly-kinded patterns and
    operator patterns to make sure the rendering isn't broken.

    Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>

    (cherry picked from commit 7e53f628440169f90cfb6aeeaf74ffbe2b1cfa6d)

commit 962d239c6c1f368a784624cc6e8259f910c6f8e9
Author: nand <git@nand.wakku.to>
Date:   Tue Feb 11 11:52:48 2014 +0100

    Improve display of poly-kinded type operators

    This now displays them as (==) k a b c ... to mirror GHC's behavior,
    instead of the old (k == a) b c ... which was just wrong.

    Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
    (cherry picked from commit bc5756d062bbc5cad5d4fa60798435ed020c518e)

commit 85afe79f66947620e27885e8f7ffac79c961e855
Author: nand <git@nand.wakku.to>
Date:   Tue Feb 4 22:13:27 2014 +0100

    Add support for type/data families

    This adds support for type/data families with their respective
    instances, as well as closed type families and associated type/data
    families.

    Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
    (cherry picked from commit e0718f203f2448ba2029e70d14aed075860b7fac)

commit be68d8fc8daedd0a0968d453b446c02797ddbce7
Author: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
Date:   Mon Feb 10 23:27:21 2014 +0000

    Ensure a space between type signature and ‘Source’

    This is briefly related to Haddock Trac #249 and employs effectively the
    suggested fix _but_ it doesn't actually fix the reported issue. This
    commit simply makes copying the full line a bit less of a pain.

    (cherry picked from commit 860d6504530a163e7483960ca8837eb596e05634)

commit a9192eef8e67555187c557fc02e2f0f1c0ad49ea
Author: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
Date:   Sun Feb 9 18:27:36 2014 +0000

    Insert a space between module link and description

    Fixes Haddock Trac #277.

    (cherry picked from commit 01de3a355ee0db773eba5f4368ac8ef4d75425b5)

commit 88cfe69e8aa26e86f58196024facdd0187965864
Author: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
Date:   Sun Feb 9 17:51:22 2014 +0000

    Document module header.

    Fixes Haddock Trac #270.

    (cherry picked from commit 1e21c673a42d3337e05607ed4f47024c65d0cc9d)