deriving Typeable is redundant since GHC 7.10

Open Beginner friendly
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
65/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
haskell
Domain
networking

Research direction

Open Network/URI.hs at line 191 and inspect the URI data declaration and its deriving list. Remove the redundant Typeable derivation, then run the project build or checks to confirm the GHC-90584 warning is gone and the remaining derivations still work.

Written by the indexing model from the issue text.

Description

Network/URI.hs:191:26: warning: [GHC-90584] [-Wderiving-typeable]
    • Deriving ‘Typeable’ has no effect: all types now auto-derive Typeable
    • In the data declaration for ‘URI’
    |
191 |     } deriving (Eq, Ord, Typeable, Data, Generic)
    |                          ^^^^^^^^
Dominant language
Haskell
Stars
28
Forks
34
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from haskell/network-uri

All issues in haskell/network-uri

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.