(Imported from Trac #724, reported by @TomMD on 2010-08-13)
Some libraries and programs have a large number of files. Instead of having explicit knowledge of each file (and instead of using a mutation on the result of getDataFilename) there should be a "getDataDirectory" or a "getDataDirectoryContents":
getDataDirectoryContents = getDataDirectory >>= getDirectoryContents
(Imported comment by @dcoutts on 2010-08-13)
There already is a getDataDir function.
The module exports the following functions:
Updating the ticket name to reflect the issue.
Merge pull request #2570 from ezyang/cabal-715
Document more functions in Paths_pkgname, fixes #715