On Wednesday 24 November 2004 02:39, Nils Anders Danielsson wrote:
On Wed, 24 Nov 2004, Benjamin Franksen wrote:
What about putting this thing on the Haskell Wiki?
Feel free to do so. I recently noted that some version of GHC (6.3?)
ships with a runghc program, so this problem will most
On Wednesday 17 November 2004 15:06, Nils Anders Danielsson wrote:
On Wed, 17 Nov 2004, Benjamin Franksen wrote:
I want to use ghc as a script interpreter, using the '-e' option. The
problem is that I can't give the script any command line arguments,
because 'ghc -e' intepretes everything
On Wed, 24 Nov 2004, Benjamin Franksen wrote:
What about putting this thing on the Haskell Wiki?
Feel free to do so. I recently noted that some version of GHC (6.3?)
ships with a runghc program, so this problem will most likely disappear
soon, though.
Hello,
I want to use ghc as a script interpreter, using the '-e' option. The
problem is that I can't give the script any command line arguments,
because 'ghc -e' intepretes everything argument as the name of a module
to compile.
cat Test.hs
import System
main = getArgs = print
ghc -e
On Wed, 17 Nov 2004, Benjamin Franksen wrote:
I want to use ghc as a script interpreter, using the '-e' option. The
problem is that I can't give the script any command line arguments,
because 'ghc -e' intepretes everything argument as the name of a module
to compile.
I once wrote a script