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
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 IOEr
[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 funct
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 -> I
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