[Hackage] #751: Cabal confused about DeriveFunctor
#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 | ---------------------------------+------------------------------------------ Full details here: http://stackoverflow.com/questions/4001749/is- derivefunctor-a-well-recognized-extension-cabal-seems-confused/4001965 -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/751> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#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 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. 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. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/751#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#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 guest): In the comment for the attached file, s/DeriveTypeable/DeriveTraversable/ . It's correct in the patch. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/751#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#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
#751: Cabal confused about DeriveFunctor ----------------------------+----------------------------------------------- Reporter: osaunders | Owner: Type: defect | Status: closed Priority: normal | Milestone: Cabal-1.10 Component: Cabal library | Version: 1.8.0.6 Severity: normal | Resolution: fixed Keywords: | Difficulty: unknown Ghcversion: 6.12.3 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * platform: Mac OS => * component: cabal-install tool => Cabal library * resolution: => fixed * milestone: => Cabal-1.10 Comment: Fixed. {{{ Tue Oct 26 23:04:09 BST 2010 Ian Lynagh <igloo@earth.li> * Add some more extensions that GHC knows about }}} -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/751#comment:4> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#751: Cabal confused about DeriveFunctor ----------------------------+----------------------------------------------- Reporter: osaunders | Owner: Type: defect | Status: closed Priority: normal | Milestone: Cabal-1.10 Component: Cabal library | Version: 1.8.0.6 Severity: normal | Resolution: fixed Keywords: | Difficulty: unknown Ghcversion: 6.12.3 | Platform: ----------------------------+----------------------------------------------- Comment(by elga): * [http://www.releve-identite-operateur.fr/numbero-de-virgin-mobile.html virgin mobile] -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/751#comment:5> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage