Changes between Version 2 and Version 3 of ArrayIndexing


Ignore:
Timestamp:
Feb 1, 2013 3:45:34 PM (2 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ArrayIndexing

    v2 v3  
    11== Array Indexing == 
    22 
    3 Array indexing currently uses the {{{!}}} infix operator.  However, {{{!}}} is also used by the BangPatterns proposal, which leads to some interesting parsing issues if you try to combine the two (parterns are usually parsed as expressions in Haskell due to ambiguities). 
     3Array indexing currently uses the {{{!}}} infix operator.  However, {{{!}}} is also used by the BangPatterns proposal, which leads to some interesting parsing issues if you try to combine the two (patterns are usually parsed as expressions in Haskell due to ambiguities). 
    44 
    55Furthermore, it seems more consistent to reserve {{{!}}} to mean "strict", which it does in other contexts: constructor field declarations, the {{{$!}}} operator, and BangPatterns.  Later we might want to introduce {{{!}}} as a general type operator. 
     
    3636 
    3737could be used to call foo with x and y evaluated strictly beforehand. 
    38  
    39  
    40  
    41  
    42  
    43  
    44  
    45