[GHC] #10253: Variable name with special characters

GHC ghc-devs at haskell.org
Tue Apr 7 10:12:00 UTC 2015


#10253: Variable name with special characters
-------------------------------------+-------------------------------------
        Reporter:  songzh            |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:  invalid           |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by nomeata):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 You are not defining `a` there, but rather the operator `$`:
 {{{
 Prelude> :t ($)
 ($) :: (a -> b) -> a -> b
 Prelude> let a$1 = 10
 Prelude> :t ($)
 ($) :: (Num a1, Num a, Eq a) => t -> a -> a1
 }}}

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


More information about the ghc-tickets mailing list