[GHC] #12879: (xs -> xs) wrongly suggests TypeApplications

GHC ghc-devs at haskell.org
Sat Nov 26 06:03:08 UTC 2016


#12879: (xs -> xs) wrongly suggests TypeApplications
-------------------------------------+-------------------------------------
           Reporter:  Iceland_jack   |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Poor/confusing
  Unknown/Multiple                   |  error message
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 `(xs -> xs)` and `map (xs -> xs)` wrongly suggest `TypeApplications`

 {{{
 > map (xs -> xs)

 <interactive>:38:6: error:
     Pattern syntax in expression context: xs -> xs
     Did you mean to enable TypeApplications?
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12879>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list