Normalize urls for Git submodules

This changes the `/libraries/<name>.git/` suffix in the urls
to `/packages/<name>.git`. This is a minor preparation step
helping the Gitolite transition (see #8121).

See also http://permalink.gmane.org/gmane.comp.lang.haskell.ghc.devel/1713
Make `sync-all remote set-url` use normalized `/packages/` urls

A simple heuristic (i.e. replacing the `libraries/` suffix by
`packages/` in the inferred remotepath, if the remotepath in the
`packages` file is "-") used to infer the remotepath for Git
submodules. A proper solution would require to parse the `.gitmodules`
file to obtain the actual localpath<->remotepath mapping.

This addresses #8121 and is a follow-up to a22e908 which changed the
`.gitmodules` urls to use the `/packages/` folder instead of
`/libraries/`.
sync-all: remove trailing '/' from root-urls in help text

This is a test commit for addressing #8121
Whitespace change to test Trac/Gitolite.

This references #8121

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

(this refs #8121 for testing purposes)
GHCi: Implement `%l` prompt substitution for line-number

This commit also updates the GHC user guide section
regarding the `set prompt` command and closes #8047.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Release notes for #8108.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Mark retry# as returning bottom.

This change helps the simplifier eliminate unreachable code, since
retry# technically doesn't return.

This closes ticket #8091.

Authored-by: Patrick Palka <patrick@parcs.ath.cx>
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Fix invalid users guide synax.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Comments only
Add a new language pragma PatternSynonyms
Add new token for 'pattern', when PatternSynonyms is turned on
Add PatSynD to HsDecl
Parser: add pattern_synonym_decl
Renamer for pattern synonym declarations

The right-hand side creates the pattern scope in which the left-hand
side is processed
Reject pattern synonym declarations in hs-boot files, add them to exportable names
Internal representation of PatSyn data
Typechecker for pattern synonyms, called from tcTyClsInstDecls
TyThing: add APatSyn, add ConLike

ConLike is a type for constructor-like things: real data constructors
and pattern synomys.
typecheck & instantiate pattern synonym patterns in patterns and expressions