
I attached a patch to add DeriveFunctor?, DeriveFoldable?, and DeriveTraversable?, but I don't know if I did everything necessary to add
#751: Cabal confused about DeriveFunctor ---------------------------------+------------------------------------------ Reporter: osaunders | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.8.0.6 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: 6.12.3 Platform: Mac OS | ---------------------------------+------------------------------------------ Comment(by duncan): Replying to [comment:1 guest]: the extensions. Thanks for the patch, I will ask the GHC devs to look at it, as they are responsible for registering new extensions that GHC implements.
In particular, the notes in Language.Haskell.Extension.hs say that new extensions should be added to the lists in Distribution.Simple.X.languageExtensions, but (at least for GHC) that seems to be generated dynamically.
Right. For newer GHC versions they are generated dynamically. The same is not yet true of other compilers, but I think at the moment only GHC implements these extensions. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/751#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects