Changes between Version 3 and Version 4 of CombinatorsCowan


Ignore:
Timestamp:
12/07/12 00:28:24 (4 years ago)
Author:
cowan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CombinatorsCowan

    v3 v4  
    33`(always `''obj''`)` 
    44 
    5 Ignores its argument and always returns `#t`.  
     5Ignores its arguments and always returns `#t`.  
    66 
    77`(never `''obj''`)` 
    88 
    9 Ignores its argument and always returns `#f`. 
     9Ignores its arguments and always returns `#f`. 
    1010 
    1111`(constantly `''obj'' ...`)` 
     
    4545Returns ''obj''. 
    4646 
    47 `(list-of? `''predicate''`)` 
     47`(all-of? `''predicate''`)` 
    4848 
    4949Returns a procedure of one argument that returns `#t` when applied to a list of elements that all satisfy ''predicate'', or `#f` otherwise. 
     50 
     51`(any-of? `''predicate''`)` 
     52 
     53Returns a procedure of one argument that returns `#t` when applied to a list of elements at least one of which satisfies ''predicate'', or `#f` otherwise. 
    5054 
    5155`(map-reduce `''mapper reducer''`)`