Re: import ambiguity

"Sigbjorn Finne" <[email protected]>
Newsgroups gmane.comp.lang.haskell.glasgow.bugs,gmane.comp.lang.haskell.hugs.bugs
Message-ID <005b01c28025$fc2e6740$1e32a8c0@sofxp>
Hi,

thanks for the report. Now fixed.

--sigbjorn

----- Original Message ----- 
From: "Dean Herington" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, October 23, 2002 09:14
Subject: import ambiguity


> With the program:
> 
> import Exception
> main = let catch = Prelude.catch in catch (print "ok") print
> 
> hugs 98 version 20021021 gives:
> 
...
> Dependency analysis
> ERROR "ImportAmbiguity.hs":2 - Ambiguous variable occurrence "catch"
> *** Could refer to: Prelude.catch Exception.catch
> 
...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.