Ticket #305 (closed bug: Fixed)
:i gives bogus type
Description
Observed by me and Ketil Malde
<ketil+haskell@ii.uib.no> in ghc 6.2.1 and 6.2.2:
Prelude> let (...) = (.) . (.) . (.)
Prelude> :t (...)
(...) :: forall c a a1 a2 b.
(b -> c) -> (a2 -> a1 -> a -> b) -> a2 -> a1
-> a -> c
Prelude> :i (...)
-- ... is a variable, defined at <interactive>:1
(...) :: forall a a b c a.
(b -> c) -> (a -> a -> a -> b) -> a -> a -> a -> c
:t is correct, but notice that in :i, the type variable
a is repeated.
PS. There is no bug category for ghci.
Change History
Note: See
TracTickets for help on using
tickets.
