I am just starting to learn Haskell so please forgive me if this question has an obvious answer. I'm interested in writing programs to distribute to end users who might know how to use their Terminal application but not necessarily how to program or install Haskell and Haskell libraries on their system.
How would one go about packaging up a Haskell program (e.g. a command line tool or a more complex application) and distributing it to this sort of userbase?
ghc -o hello hello.hs
compiles the .hs as a frozen binary, so for windows the user would just double click the hello.exe, and for linux it's ./hello .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With