Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace fragile GHC manual section references by urls #1072

Merged
merged 1 commit into from Oct 18, 2012

Conversation

hvr
Copy link
Member

@hvr hvr commented Oct 18, 2012

This replaces the GHC/Hugs manual references in the Haddock comments
for the Language.Haskell.Extension.Extension enum constructors, as
in

  -- | [GHC § 7.6.3.4] Allow overlapping class instances,
  -- provided there is a unique most specific instance for each use.
  OverlappingInstances

which urls pointing directly to the section containing further
documentation (assuming the urls are more immune to section
reorderings), e.g.:

  -- | Allow overlapping class instances, provided there is a unique
  -- most specific instance for each use.
  --
  -- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/type-class-extensions.html#instance-overlap>
     OverlappingInstances

This replaces the GHC/Hugs manual references in the Haddock comments
for the `Language.Haskell.Extension.Extension` enum constructors, as
in

```haskell
  -- | [GHC &#xa7; 7.6.3.4] Allow overlapping class instances,
  -- provided there is a unique most specific instance for each use.
  OverlappingInstances
```

which urls pointing directly to the section containing further
documentation (assuming the urls are more immune to section
reorderings), e.g.:

```haskell
  -- | Allow overlapping class instances, provided there is a unique
  -- most specific instance for each use.
  --
  -- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/type-class-extensions.html#instance-overlap>
     OverlappingInstances
```
dcoutts added a commit that referenced this pull request Oct 18, 2012
Replace fragile GHC manual section references by urls
@dcoutts dcoutts merged commit 7b0c2ce into haskell:master Oct 18, 2012
@hvr hvr deleted the lang-ext branch March 3, 2016 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants