[GHC] #13843: Expand type information collected (:set +c), used by :all-types, :type-at, ..
GHC
ghc-devs at haskell.org
Sat Jun 17 16:29:01 UTC 2017
#13843: Expand type information collected (:set +c), used by :all-types, :type-at,
..
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: (none)
Type: feature | Status: new
request |
Priority: normal | Milestone:
Component: Compiler | Version: 8.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
When [collecting type information
https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci.html
#ghci-cmd-:set%20+c] (`:set +c`) GHC does not collect type information
from type variables in type synonyms
{{{#!hs
type Endo a = a -> a
}}}
data types and families
{{{#!hs
data List a = Nil | a ::: List a
}}}
fixity declarations
{{{#!hs
infixr 5 :::
}}}
type class declarations
{{{#!hs
class A a where
getA :: a
}}}
and type families.. probably other things: the feature appeared one GHC
version ago so, has this just not been implemented yet?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13843>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list