| isEOFError error
> -> do
>| otherwise
> -> do
> Right result
> -> do
Ups, I overlooked this. What I really wanted was:
case t of
Left error
| isEOFError error
->
On Thu, 12 Jun 2003, Wolfgang Jeltsch wrote:
> On Thursday, 2003-06-12, 18:01, CEST, Filip wrote:
> > Hi,
> >
> > I wrote something like "let t = try (hGetLine h1)" and I would like to check
> > is it EOFError or not. How can I do this ??
> >
> > Thanks
>
> Hello,
>
> the above code assigns the
On Thursday, 2003-06-12, 18:01, CEST, Filip wrote:
> Hi,
>
> I wrote something like "let t = try (hGetLine h1)" and I would like to check
> is it EOFError or not. How can I do this ??
>
> Thanks
Hello,
the above code assigns the I/O action
try (hGetLine h1)
to t. I suppose you want to assign
Hi,
I wrote something like "let t = try (hGetLine h1)" and I would like to check is it
EOFError or not. How can I do this ??
Thanks
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell