[ ghc-Bugs-1205210 ] :i wrongly claims "Imported from ..."
SourceForge.net
noreply at sourceforge.net
Fri May 20 08:33:22 EDT 2005
Bugs item #1205210, was opened at 2005-05-19 18:58
Message generated for change (Comment added) made by simonpj
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1205210&group_id=8032
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GHCi
Group: None
Status: Open
Resolution: None
>Priority: 2
Submitted By: Andrew Pimlott (pimlott)
Assigned to: Nobody/Anonymous (nobody)
Summary: :i wrongly claims "Imported from ..."
Initial Comment:
Mostly cosmetic mix-up:
Prelude> :m GHC.Exception
Prelude GHC.Exception> :i System.IO.Error.catch
catch :: IO a -> (IOError -> IO a) -> IO a
-- Imported from GHC.Exception
The catch described is not the same on as imported from
GHC.Exception.
----------------------------------------------------------------------
>Comment By: Simon Peyton Jones (simonpj)
Date: 2005-05-20 12:33
Message:
Logged In: YES
user_id=50165
Actually, System.IO.Error.catch is indeed the same as
GHC.Exception.catch.
It might be better if GHCi printed out the reason that
something is in scope, rather than its defining module,
maybe, but otherwise this looks ok to me.
I'm leaving it open to remind us to think abou the question of
what might be the most helpful location to give .
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1205210&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list