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 > ...