[GHC] #7725: Operators without colons

GHC cvs-ghc at haskell.org
Wed Feb 27 09:14:42 CET 2013


#7725: Operators without colons
----------------------------------------+-----------------------------------
Reporter:  monoidal                     |          Owner:                  
    Type:  bug                          |         Status:  new             
Priority:  normal                       |      Component:  Compiler        
 Version:  7.6.2                        |       Keywords:                  
      Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple
 Failure:  GHC accepts invalid program  |      Blockedby:                  
Blocking:                               |        Related:                  
----------------------------------------+-----------------------------------

Comment(by monoidal):

 I now realized that with -XDataKinds this declaration is not useless:
 {{{(&) x y}}} becomes a type of kind {{{A x y}}}. Still, it's rather rough
 - for example, {{{:i (&)}}} does not work. A possible solution would be
 implementing GhcKinds/KindsWithoutData and letting

 {{{data kind A x y = (&) x y}}}

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



More information about the ghc-tickets mailing list