[GHC] #13060: Visible type application doesn't work for functions with inferred types
GHC
ghc-devs at haskell.org
Tue Jan 3 21:13:42 UTC 2017
#13060: Visible type application doesn't work for functions with inferred types
-------------------------------------+-------------------------------------
Reporter: Feuerbach | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler (Type | Version: 8.0.1
checker) |
Resolution: invalid | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by rwbarton):
Well (I don't know whether this is documented anywhere but) that should
not be the confusing part--`forall {a}.` means you can't use a type
application to specify the type. The confusing part is the behavior of `:t
id` and `:t foo`. But `:info` will show you the difference.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13060#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list