MK
Size: a a a
MK
к
data-files field varies between systems, and in some cases one can even move packages around after installation (see Section 4.1.2.3, “Prefix-independence”). To enable packages to find these files in a portable way, Cabal generates a module called Paths_pkgname (with any hyphens in pkgname replaced by underscores) during building, so that it may be imported by modules of the package. This module defines a functiongetDataFileName :: FilePath -> IO FilePathMK
MK
A
MK
AV
AV
MK
AV