import ambiguity
Sigbjorn Finne
sof at galois.com
Wed Oct 30 10:06:55 EST 2002
Hi,
thanks for the report. Now fixed.
--sigbjorn
----- Original Message -----
From: "Dean Herington" <heringto at cs.unc.edu>
To: <hugs-bugs at haskell.org>
Cc: <glasgow-haskell-bugs at haskell.org>
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
>
...
More information about the Glasgow-haskell-bugs
mailing list