[GHC] #7776: Can't make operator called ~#

GHC cvs-ghc at haskell.org
Mon Mar 18 06:50:30 CET 2013


#7776: Can't make operator called ~#
--------------------------------------+-------------------------------------
Reporter:  adrianmay                  |          Owner:                           
    Type:  bug                        |         Status:  new                      
Priority:  normal                     |      Component:  Compiler                 
 Version:  7.4.1                      |       Keywords:  tilde hash sharp operator
      Os:  Linux                      |   Architecture:  x86_64 (amd64)           
 Failure:  GHC rejects valid program  |      Blockedby:                           
Blocking:                             |        Related:                           
--------------------------------------+-------------------------------------
 In response to:

 infixl 8 ~#

 GHC says:

 parse error on input `~#'

 although:

 infixl 8 ~$
 infixl 8 !#

 are both fine.

 Hugs version September 2006 accepts ~#

 GHC seems to barf over ~# in any context.

 (The reason I have this version of GHC is that it comes with the Haskell
 Platform Ubuntu package right now.)

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



More information about the ghc-tickets mailing list