Repeated :info giving different results

Remi Turk rturk at science.uva.nl
Sat Mar 19 18:22:23 EST 2005


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.



More information about the Glasgow-haskell-bugs mailing list