Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add CURRENT_PACKAGE_VERSION or similar to cabal-macros.h #4319
Given that cabal-macros.h defines VERSION_[pkg] for every dep, it seems strange that we can't access something as simple as the current package version, unless of course I'm missing something.
I assume this would be a very easy and non-breaking change, and am happy to provide a PR. However there may be dragons, or it may already exist, so asking first!