[Hackage] #751: Cabal confused about DeriveFunctor

Hackage cvs-ghc at haskell.org
Mon Oct 25 10:50:12 EDT 2010


#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]:
 > I attached a patch to add DeriveFunctor?, DeriveFoldable?, and
 DeriveTraversable?, but I don't know if I did everything necessary to add
 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



More information about the cabal-devel mailing list