#2082: In ghci, :i leaves out parens in type
---------------------------+------------------------------------------------
Reporter: chad.scherrer | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8.3
Component: GHCi | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Linux |
---------------------------+------------------------------------------------
Changes (by igloo):
* milestone: => 6.8.3
Comment:
Thanks for the report. Here's a minimal example (we should put this into a
test):
{{{
{-# LANGUAGE ExistentialQuantification #-}
data D = forall a . C (Int -> a) Char
}}}
{{{
$ ghci -v0 q.hs
*Main> :i D
data D where
C :: forall a. Int -> a -> Char -> D
-- Defined at q.hs:4:5
*Main> :i C
data D where
C :: forall a. Int -> a -> Char -> D
-- Defined at q.hs:4:20
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2082#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs