#4196: add more stolen syntax to the user guide
---------------------------------+------------------------------------------
    Reporter:  maeder            |       Owner:                  
        Type:  task              |      Status:  new             
    Priority:  low               |   Milestone:  7.6.1           
   Component:  Documentation     |     Version:  6.12.3          
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:                    |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by maeder):

 I think, `-XBangPatterns` should be mentioned under
 http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/syntax-extns.html
 #syntax-stolen

 The problems for user-defined infix-operators starting with "#" (namely
 requiring a white space on the left) should be described under
 http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/syntax-extns.html
 #magic-hash

 (http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/bang-patterns.html
 mentions later:
 {{{
 Is this a definition of the infix function "(!)", or of the "f" with a
 bang pattern? GHC resolves this ambiguity in favour of the latter. If you
 want to define (!) with bang-patterns enabled, you have to do so using
 prefix notation:
 }}}
 )

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to