#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_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel