[Hackage] #326: Cabal should support Cabal-version-dependent
Setup.hs
Hackage
trac at galois.com
Mon Aug 18 07:02:27 EDT 2008
#326: Cabal should support Cabal-version-dependent Setup.hs
----------------------------+-----------------------------------------------
Reporter: claus | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Resolution:
Keywords: | Difficulty: normal
Ghcversion: 6.8.2 | Platform:
----------------------------+-----------------------------------------------
Comment (by duncan):
Though one can do:
{{{
#if MIN_VERSION_CABAL(1,4,0)
#if MIN_VERSION_CABAL(1,6,0)
-- stuff for 1.6
#else
-- stuff for 1.4
#endif
#endif
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/326#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list