Hey, I'm a beginner at compiling (or interpreting) Haskell and some of the basic things are hard to do especially when theres not a lot of info out there for me to use. My question is, how do I run a test file after I have compiled?
I compiler with:
ghc --makefile filename.hs -o executable.exe
And then my test file (provided by my professor) test.cl. Whats the command in the prompt to run the test file with the executable.exe?
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.