logo       

Repeated :info giving different results: msg#00124

lang.haskell.glasgow.bugs

Subject: Repeated :info giving different results

Hi,

every once in a while, a screenshot says more than a thousand words.
And it's "global": ":i Bool" followed by ":i Int" shows exactly
the same symptom.

Groeten,
Remi


~% 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

Prelude>

--
Nobody can be exactly like me. Even I have trouble doing it.


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

News | FAQ | advertise