Changes between Version 1 and Version 2 of ArrayIndexing


Ignore:
Timestamp:
Mar 2, 2006 1:00:19 AM (9 years ago)
Author:
john@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ArrayIndexing

    v1 v2  
    2525This doesn't even require any new syntax, because {{{.#}}} is a valid infix operator. 
    2626 
     27== Use of '!' == 
    2728 
     29A more useful definition of '!' would be 
     30 
     31f ! x = x `seq` f x 
     32 
     33where '!' has the exact same fixity as function application. so  
     34 
     35foo !x !y 
     36 
     37could be used to call foo with x and y evaluated strictly beforehand. 
     38 
     39 
     40 
     41 
     42 
     43 
     44 
     45