
#823: Accessing the package version from within the package ----------------------------+----------------------------------------------- Reporter: basvandijk | Owner: Type: enhancement | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: 1.8.0.6 Severity: normal | Resolution: worksforme Keywords: | Difficulty: unknown Ghcversion: | Platform: ----------------------------+----------------------------------------------- Changes (by basvandijk): * status: new => closed * resolution: => worksforme Comment: Replying to [comment:1 AntoineLatter]:
Maybe I'm miss-understanding, but this feature already exists exactly as you've described.
Indeed. I just discovered this myself when browsing through the `autogen` directory of one of my packages and reading the `Paths_package` module. I'm closing the ticket as `worksforme`. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/823#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects