[darcs-devel] [issue1824] PACKAGE_VERSION is not a string

Gracjan Polak bugs at darcs.net
Sun May 2 17:10:25 UTC 2010


Gracjan Polak <gracjanpolak at gmail.com> added the comment:

Prelude System.Process> rawSystem "ghc-6.10.4.exe" ["--make",
"-DPACKAGE_VERSION=\"1.2.3\"", "pkgver.hs", "-fforce-recomp"]
[1 of 1] Compiling Main             ( pkgver.hs, pkgver.o )

pkgver.hs:2:7:
    Couldn't match expected type `b -> c' against inferred type `IO ()'
    In the first argument of `(.)', namely `print 1.2'
    In the expression: print 1.2 . 3
    In the definition of `main': main = print 1.2 . 3
ExitSuccess

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1824>
__________________________________


More information about the darcs-devel mailing list