GHC doesn't doesn't clean up the way it should
Josef Svenningsson
josefs at cs.chalmers.se
Thu May 6 05:16:22 EDT 2004
> -----Original Message-----
> From: Simon Marlow [mailto:simonmar at microsoft.com]
>
> Ok, can you provide a sample command line that I can use to reproduce
> the problem? Maybe you need to provide the preprocessor program too (a
> perl script will probably do).
>
OK. I haven't been able to reproduce this with GHC only with GHCi. Any
pre-processor will do, I've used this one for testing (I don't know Perl but
Haskell works fine :-):
\begin{code}
module Main where
import System
main = do args <- getArgs
case args of
[_,infile,outfile] -> do cont <- readFile infile
writeFile outfile cont
\end{code}
Here's the command line I use to reproduce to behaviour:
$ ghci -F -pgmF ./testpp.exe -v HaskellModule.hs
I'm running cygwin as you've probably noticed.
Good luck, and hope this helps.
/Josef
More information about the Glasgow-haskell-bugs
mailing list