Changes between Version 1 and Version 2 of CompleteSequenceCowan


Ignore:
Timestamp:
08/18/10 11:40:49 (7 years ago)
Author:
cowan
Comment:

Cleaned up and clarified

Legend:

Unmodified
Added
Removed
Modified
  • CompleteSequenceCowan

    v1 v2  
    99||Element access?||`list-ref`||`string-ref`||`vector-ref`|| 
    1010||Element mutator||`list-set!` (proposed)||`string-set!`||`vector-set!`|| 
    11 ||Map function||`map`||`string-map` (proposed)||`vector-map` (SRFI 43)|| 
    12 ||Map side effects||`for-each`||`string-for-each` (proposed)||`vector-for-each` (SRFI 43)|| 
     11||Map function||`map`||`string-map` (SRFI 13 extended)||`vector-map` (R6RS)|| 
     12||Map side effects||`for-each`||`string-for-each` (proposed)||`vector-for-each` (R6RS)|| 
    1313||Convert to list||---||`string->list`||`vector->list`|| 
    1414||Convert to string||`list->string`||---||`vector->string` (proposed)|| 
    1515||Convert to vector||`list->vector`||`string->vector` (proposed)||---|| 
    1616 
    17 In summary: 33 procedures, 23 in R5RS, 2 in SRFI 1, 3 in SRFI 43, 5 novel but obvious. 
     17In summary: 33 procedures, 23 in R5RS, 2 in R6RS, 2 in SRFI 1, 1 in SRFI 43, 1 in SRFI-13 but extended to take multiple strings, 4 novel but obvious. 
     18 
     19I further propose that the map and for-each groups should be specified to implicitly truncate all sequence arguments to the length of the shortest sequence.