[Haskell-cafe] Distributing a program with support files

Isaac Dupree isaacdupree at charter.net
Tue May 29 06:38:39 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Mitchell wrote:
> It does seem that creating a new Paths_<pkg> module and include it is
> not very pleasant. It requires everyone to compile from source to get
> the paths working, which doesn't make much sense.

Why?  If it's a binary package, the IO will return the compiled-in path,
which on the same distribution/whatever, should be the correct path.  In
particular, on Windows, I assume that the IO returns something that is
in fact relative to the current position of the executable at the time
of its running (am I wrong?)

Isaac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXAKuHgcxvIWYTTURAnjmAJ9XWxwgt8ci6bHKaGu37qM0RhsbDwCePx5B
gvnLrktVxhjW9x36YN8VOrI=
=hVKj
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list