Typo
Suggest Int when user writes int

and the other way around. This fixes #9177.
Report all possible results from related name spaces

instead of just one matching directly. This is an alternative way to fix
ticket #9177.
Add testcase for #9177 and adjust test output
Update test results (last minuite changes)
Added link ends to role documentation.
Sorted the language options list alphabetically, and added missing options.
Prevent line wrapping after the dash of an option.
Make the matcher and wrapper Ids in PatSyn into LocalIds, not GlobalIds

This was a serious bug, exposed by Trac #9175.  The matcher and wrapper
must be LocalIds, like record selectors and dictionary functions, for
the reasons now documented in Note [Exported LocalIds] in Id.lhs

In fixing this I found
 - PatSyn should have an Id inside it (apart from the wrapper and matcher)
   It should be a Name.  Hence psId --> psName, with knock-on consequences

 - Tidying of PatSyns in TidyPgm was wrong

 - The keep-alive set in Desugar.deSugar (now) doesn't need pattern synonyms
   in it

I also cleaned up the interface to PatSyn a little, so there's a tiny knock-on
effect in Haddock; hence the haddock submodule update.

It's very hard to make a test for this bug, so I haven't.
Added more option implication documentation.
Merge branch 'master' of git://git.haskell.org/ghc

Conflicts:
	docs/users_guide/flags.xml
Make DeriveTraversable imply DeriveFunctor/Foldable

Implements #9069
Added testcase for #9069
Update mod73 test output

to what I observe on travis and on my validate machine, even though my
local tree produces the previous output.
Use UnicodeSyntax when printing

When printing Haskell source, and UnicodeSyntax is enabled, use the
unicode sytax characters (#8959).
Only use UnicodeSytanx pretty printing if the locale supports it

using the same check as for unicode quotes.
Test case: GHCi uses UnicodeSyntax if the loaded file uses it.

Its marked as broken, as this does not work yet, but we are calling it a
day here soon, so I want this to be recorded (#8959).
Fix discarding of unreachable code in the register allocator (#9155)

A previous fix to this was wrong: f5879acd018494b84233f26fba828ce376d0f81d
and left some unreachable code behind.  So rather than try to be clever and
do this at the same time as the strongly-connected-component analysis, I'm
doing a separate reachability pass first.
supress warning of bang wildcard pattern-binding (i.e. let !_ = rhs). This fixes #9127
s/-hi-diffs/-ddump-hi-diffs/ in docs (#9179)