Skip to content

Commit

Permalink
Replace fragile GHC manual section references by urls
Browse files Browse the repository at this point in the history
This replaces the GHC/Hugs manual references in the Haddock comments
for the `Language.Haskell.Extension.Extension` enum constructors, as
in

```haskell
  -- | [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.:

```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
```
  • Loading branch information
hvr committed Oct 18, 2012
1 parent 0f82cb9 commit 0457137
Showing 1 changed file with 271 additions and 144 deletions.

0 comments on commit 0457137

Please sign in to comment.