[ ghc-Bugs-1167383 ] GHCi reports too few instances
SourceForge.net
noreply at sourceforge.net
Mon Mar 21 04:01:12 EST 2005
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
More information about the Glasgow-haskell-bugs
mailing list