Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • docs/users_guide/exts/stolen_syntax.rst
    ... ... @@ -50,7 +50,7 @@ The following syntax is stolen:
    50 50
     
    
    51 51
         Stolen by: :extension:`Arrows`
    
    52 52
     
    
    53
    -``?varid``
    
    53
    +``?varid``
    
    54 54
         .. index::
    
    55 55
            single: implicit parameters
    
    56 56
     
    
    ... ... @@ -77,17 +77,20 @@ The following syntax is stolen:
    77 77
     
    
    78 78
         Stolen by: :extension:`QuasiQuotes`
    
    79 79
     
    
    80
    -⟨varid⟩``#``, ⟨char⟩``#``, ⟨string⟩``#``, ⟨integer⟩``#``, ⟨float⟩``#``, ⟨float⟩``##``
    
    80
    +``⟨varid⟩#``, ``⟨char⟩#``, ``⟨string⟩#``, ``⟨integer⟩#``, ``⟨float⟩#``, ``⟨float⟩##``
    
    81 81
         Stolen by: :extension:`MagicHash`
    
    82 82
     
    
    83
    -⟨integer⟩, ``#(Int|Word)(8|16|32|64)?``
    
    83
    +``⟨integer⟩#(Int|Word)(8|16|32|64)?``
    
    84 84
         Stolen by: :extension:`ExtendedLiterals`
    
    85 85
     
    
    86 86
     ``(#``, ``#)``
    
    87 87
         Stolen by: :extension:`UnboxedTuples`
    
    88 88
     
    
    89
    -⟨varid⟩, ``!``, ⟨varid⟩
    
    90
    -    Stolen by: :extension:`BangPatterns`
    
    89
    +``⟨varid⟩ !⟨varid⟩``
    
    90
    +    Stolen by: :extension:`BangPatterns`. Only when there are whitespaces before
    
    91
    +    ``!`` and no whitespace after ``!``, it is interpreted as :extension:`BangPatterns`. Other
    
    92
    +    cases such as ``⟨varid⟩!⟨varid⟩``, ``⟨varid⟩ ! ⟨varid⟩``, and ``⟨varid⟩! ⟨varid⟩``, are
    
    93
    +    interpreted as infix operators.
    
    91 94
     
    
    92 95
     ``pattern``
    
    93 96
         Stolen by: :extension:`PatternSynonyms`