
Hi All I don't know what I'm doing wrong here but for some reason no matter what esoteric command line option I seem to be able to dream up I can get ghc to include IOExts..I want to use the side-affect IO commands but cannot. I am using ghc-5.02.2 for Win32. Can someone just give me a command line example that alows me to compile a file that includes IOExts? Thanks J.

On Wed, 23 Oct 2002, Jason Smith wrote:
Hi All
I don't know what I'm doing wrong here but for some reason no matter what esoteric command line option I seem to be able to dream up I can get ghc to include IOExts..I want to use the side-affect IO commands but cannot.
I am using ghc-5.02.2 for Win32.
Can someone just give me a command line example that alows me to compile a file that includes IOExts?
Thanks J.
Give the ghc command "-package lang", and make sure to "import IOExts" in your program. -- Dean
participants (2)
-
Dean Herington
-
Jason Smith