A bit late, sorry, but you could use this:
http://www.wellquite.org/hinstaller/
On Thu, Feb 7, 2008 at 5:29 AM, Dave Bayer [EMAIL PROTECTED] wrote:
What is the best way to embed an arbitrary file in a Haskell program?
I would like to use GHC to compile command-line tools to be used with
OS
Dave Bayer wrote:
What is the best way to embed an arbitrary file in a Haskell program?
I don't know the best way. I'd probably use FFI.
main.hs:
{-# LANGUAGE ForeignFunctionInterface #-}
module Main where
import Foreign
import Foreign.ForeignPtr
import qualified Data.ByteString as
On Feb 9, 2008, at 8:03 AM, Bertram Felgenhauer wrote:
Dave Bayer wrote:
What is the best way to embed an arbitrary file in a Haskell program?
I don't know the best way. I'd probably use FFI.
snip
The idea is then to use some existing tool that embeds binary
data in C programs.
Since
Op 7-feb-2008, om 13:53 heeft Dave Bayer het volgende geschreven:
Under this extreme hypothesis, how do I embed a compressed tar file
into a single file command line tool written in Haskell and
compiled by GHC?
Hack up a shell script or a small Haskell program to automatically
generate a
On Feb 7, 2008, at 12:27 AM, [EMAIL PROTECTED] wrote:
Are you assuming that the various users have GHC/Hugs installed? You
know about scripting through the 'runhaskell' binary, right?
I do, and I've used this. I don't want to do that here.
Let me say this again: I am making no assumptions
What is the best way to embed an arbitrary file in a Haskell program?
I would like to use GHC to compile command-line tools to be used with
OS X. I want the tool to be a single file, not a package or a
directory, that makes no assumptions about what else is present. For
example, it should