Admin message

Due to a large amount of spam we do not allow new users to create repositories, they are "external" users. If you are a new user and want to create a repository, for example for forking GHC, open a new issue on ghc/ghc using the "get-verified" issue template

Decouple Language.Haskell.Syntax from GHC.Hs.Docs
## _Trees That Grow_ Requirement Currently, three modules within the **`Language.Haskell.Syntax`** (**`L.H.S`**) "namespace" import the **`GHC.Hs.Doc`** module. In order for the TTG project to progress and separate out the AST from GHC's internals, these module dependencies will need to be removed: - **`L.H.S.Decls `** -> **`GHC.HS.Doc`** - **`L.H.S.Type `** -> **`GHC.HS.Doc`** - **`L.H.S.ImpExp`** -> **`GHC.HS.Doc`** Each module imports only the data-type `LHsHDoc`, so constituent data-types for the `LHsHDoc` type-synonym will need to be moved to **`L.H.S`**. ## Migrate and restructure `LHsDoc` 1. Create a new **`L.H.S.Doc`** module and move the following into it. 2. Move `HsDoc` *(no change)* 3. Move `HsStringChunk` *(no change)* 4. Move `HsDocStringDecorator` *(no change)* 5. Move `LHsDoc p` as `XRec p (HsDoc p)` 6. Move `WithHsDocIdentifiers p` as `Located (IdP p) as LIdP p` 7. Move `HsDocString`, adding TTG parameter and extension point 8. Move `LHsDocStringChunk = Located HsDocStringChunk` as `type LHsDocStringChunk pass = XRec pass HsDocStringChunk` 9. Add `type instance Anno HsDocStringChunk = SrcSpan`
issue