[GHC] #11622: Annotating types in type familiy equations without parentheses
GHC
ghc-devs at haskell.org
Mon Feb 22 04:48:55 UTC 2016
#11622: Annotating types in type familiy equations without parentheses
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Iceland_jack):
Were you thinking of #8708? Removing this restriction would help make the
`:kind` command less surprising:
{{{
>>> :kind Int
Int :: *
>>> :kind Int :: *
<parse error>
}}}
where one might expect it to work like
{{{
>>> :type 'a'
'a' :: Char
>>> :type 'a' :: Char
'a' :: Char :: Char
}}}
While we're at it, is it possible to automatically quantify free
variables?
{{{
>>> :kind Maybe
Maybe :: * -> *
>>> :kind Maybe a
<not-in-scope error>
}}}
Explicitly quantifying the variables gets tiresome when there are more of
them
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11622#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list