[GHC] #11409: Cannot instantiate literals using TypeApplications
GHC
ghc-devs at haskell.org
Thu Mar 23 01:21:15 UTC 2017
#11409: Cannot instantiate literals using TypeApplications
-------------------------------------+-------------------------------------
Reporter: Feuerbach | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 8.0.1-rc1
Resolution: | Keywords:
| TypeApplications
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #11352 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by goldfire):
The question always is: what type variable is being instantiated? Perhaps
`f` has the type `forall a. a -> forall b. b -> (a, b)`. Then `f @t n`
will be different from `f t @n`. And, as Stephanie and I describe in
[http://cs.brynmawr.edu/~rae/papers/2016/type-app/visible-type-app.pdf our
paper], there doesn't seem to be a way to add in extra flexibility.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11409#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list