[Hackage] #340: Deprecate RecordPuns and translate NamedFieldPuns
for older ghc
Hackage
trac at galois.com
Sun Aug 24 16:32:36 EDT 2008
#340: Deprecate RecordPuns and translate NamedFieldPuns for older ghc
----------------------------+-----------------------------------------------
Reporter: duncan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Cabal-1.6
Component: Cabal library | Version: HEAD
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: |
----------------------------+-----------------------------------------------
The `RecordPuns` extension was accidentally added. In ghc-6.10 it will be
deprecated and done as an alias for `NamedFieldPuns`.
See:
http://hackage.haskell.org/trac/ghc/ticket/2320
That means people will use `NamedFieldPuns` instead which will then not
work with older ghc. Cabal should encourage users to switch to
`NamedFieldPuns` but should translate this into `RecordPuns` when calling
older ghc versions.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/340>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list