[Haskell-cafe] Linking in Large ByteStrings

Tom Hawkins tomahawkins at gmail.com
Fri Jan 1 10:09:52 EST 2010

I have a large tarball I want to link into an executable as a
ByteString.  What is the best way to do this?  I can convert the
tarball into a haskell file, but I'm afraid ghc would take a long time
to compile it.  Is there any way to link constant data directly with
ghc?  If not, what's the most efficient way to code large ByteStrings
for fast compilation?

More information about the Haskell-Cafe mailing list