#6027: Allow changing fixity of new type operators
---------------------------------+------------------------------------------
    Reporter:  atnnn             |       Owner:  pcapriotti      
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:  7.6.1           
   Component:  Compiler          |     Version:  7.5             
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonpj):

  * owner:  => pcapriotti
  * difficulty:  => Unknown
  * milestone:  => 7.6.1


Comment:

 Currently in GHC changing the fixity of a ''term-level operator'', such as
 `(+)` also changes the fixity of the corresponding ''type-level
 operator''.  We could have different fixities for the term-level `(+)`
 than the type level `(+)`, but it would be confusing!

 So rather than les tyou specify different fixities for each, as your patch
 implies, I think it'd be better simply to make `infixr 2 ?` work even when
 there is only a type-level `(?)` in scope.

 Paolo might you look at this?  (It in the renamer, not a big deal I
 think.)

 Simon

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to