Can't seem to figure how to compile

2007-10-21 Thread John Vogel
Running ghc 6.6.1 On Windows Vista I get this error when I run: ghc Main.hs gcc: installation problem, cannot exec `as': No such file or directory On this code: module Main where main = do putStrLn Please enter your name: name - getLine putStrLn (Hello, ++ name ++ , how are you?)

Re: Can't seem to figure how to compile

2007-10-21 Thread Matthew Danish
On Sun, Oct 21, 2007 at 01:46:16PM -0500, John Vogel wrote: gcc: installation problem, cannot exec `as': No such file or directory `as' is the assembler that gcc uses. Check your gcc. Can you even compile C programs successfully? -- -- Matthew Danish -- user: mrd domain: cmu.edu -- OpenPGP

Re: Can't seem to figure how to compile

2007-10-21 Thread John Vogel
It is the default gcc with ghc. ghci works just fine which invokes ghc --interactive. But this command does work: ghc -e Main.main Main.hs But there is no executable. On 10/21/07, Matthew Danish [EMAIL PROTECTED] wrote: On Sun, Oct 21, 2007 at 01:46:16PM -0500, John Vogel wrote: gcc:

Re: Can't seem to figure how to compile

2007-10-21 Thread Tim Chevalier
On 10/21/07, John Vogel [EMAIL PROTECTED] wrote: Running ghc 6.6.1 On Windows Vista I get this error when I run: ghc Main.hs gcc: installation problem, cannot exec `as': No such file or directory Did you follow these instructions when you installed GHC?

Status of exception handling

2007-10-21 Thread Florian Weimer
What's the status of exception handling? A couple of years ago, I think it wasn't clear how to do that in the Haskell context. Are there any GHC extensions which provide means to retry on temporary errors, without passing too much status around? I've seen on the Wiki that backtraces are still

Re: Status of exception handling

2007-10-21 Thread Don Stewart
fw: What's the status of exception handling? A couple of years ago, I think it wasn't clear how to do that in the Haskell context. Are there any GHC extensions which provide means to retry on temporary errors, without passing too much status around? We use exceptions freely, though they do