SuSE 7.1 RPMs for ghc-5.02.1

2001-11-03 Thread Ralf Hinze
You can find SuSE 7.1 RPMs for ghc-5.02.1 here http://www.informatik.uni-bonn.de/~ralf/ghc-5.02.1-1.i386.rpm http://www.informatik.uni-bonn.de/~ralf/ghc-prof-5.02.1-1.i386.rpm http://www.informatik.uni-bonn.de/~ralf/ghc-5.02.1-1.src.rpm Have fun, Ralf

URGENT: File exists

2001-11-03 Thread bracaman
I need to create a function that checks if a file exists. My intention is to do something like: teste :: String - Bool (Beeing the String the FilePath) I've tried to use openFile and catch functions, but i couldn't put it working. The purpose of this function is to test a file before trying

Re: URGENT: File exists

2001-11-03 Thread Ashley Yakeley
At 2001-11-03 02:56, [EMAIL PROTECTED] wrote: I need to create a function that checks if a file exists. My intention is to do something like: teste :: String - Bool (Beeing the String the FilePath) This cannot be done safely. Consider making a function with type test :: String - IO

Re: URGENT: File exists

2001-11-03 Thread Lennart Augustsson
[EMAIL PROTECTED] wrote: I need to create a function that checks if a file exists. My intention is to do something like: teste :: String - Bool (Beeing the String the FilePath) I've tried to use openFile and catch functions, but i couldn't put it working. The purpose of this function is

Re: URGENT: File exists

2001-11-03 Thread bracaman
I am trying to emulate bash in haskell, and i got a function called shell that waits fot the command and then executes it. The problem is that if the file does not exist, the program returns to Main (it gets out of the shell). The only thing i want to do is to return to the shell after an

Re: Haskell 98 Revised

2001-11-03 Thread Ian Lynagh
Hi Simon It's that time of the month. I'm putting out the November release of the Revised Haskell 98 Report. As ever, I earnestly seek your feedback. In appendix B (syntax), B.3 (layout) says * A stream of tokens as specified by the lexical syntax in the Haskell report, with the

Re: URGENT: File exists

2001-11-03 Thread Richard Uhtenwoldt
[EMAIL PROTECTED] writes: I am trying to emulate bash in haskell, and i got a function called shell that waits fot the command and then executes it. The problem is that if the file does not exist, the program returns to Main (it gets out of the shell). The only thing i want to do is to return