Bugs item #1120891, was opened at 2005-02-11 16:28
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1120891&group_id=8032

Category: Compiler
Group: 6.2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Andrew Pimlott (pimlott)
Assigned to: Nobody/Anonymous (nobody)
Summary: :i gives bogus type

Initial Comment:
Observed by me and Ketil Malde
<[EMAIL PROTECTED]> 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.

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

>Comment By: Simon Marlow (simonmar)
Date: 2005-02-15 12:41

Message:
Logged In: YES 
user_id=48280

Fixed in 6.4.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1120891&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to