logo       

[ ghc-Bugs-1167383 ] GHCi reports too few instances: msg#00125

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1167383 ] GHCi reports too few instances

Bugs item #1167383, was opened at 2005-03-21 09:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1167383&group_id=8032

Category: GHCi
Group: None
Status: Open
Resolution: None
Priority: 4
Submitted By: Simon Peyton Jones (simonpj)
Assigned to: Nobody/Anonymous (nobody)
Summary: GHCi reports too few instances

Initial Comment:
GHCi aspires to report all instances that can be written
unqualified in the current scope; but it doesn't.


| ~% ghci
| ___ ___ _
| / _ \ /\ /\/ __(_)
| / /_\// /_/ / / | | GHC Interactive, version 6.4, for
Haskell 98.
| / /_\/ __ / /___| | http://www.haskell.org/ghc/
| \____/\/ /_/\____/|_| Type :? for help.
|
| Loading package base-1.0 ... linking ... done.
|
| Prelude> :i Bool
| data Bool = False | True -- <wired into compiler>
| instance Eq Bool -- Imported from GHC.Base
| instance Ord Bool -- Imported from GHC.Base
|
| Prelude> :i Bool
| data Bool = False | True -- <wired into compiler>
| instance Bounded Bool -- Imported from
GHC.Enum
| instance Enum Bool -- Imported from
GHC.Enum
| instance Eq Bool -- Imported from GHC.Base
| instance Ord Bool -- Imported from GHC.Base
| instance Read Bool -- Imported from GHC.Read
| instance Show Bool -- Imported from GHC.Show


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1167383&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise