
26 Mar
2012
26 Mar
'12
5:36 p.m.
On Mon, Mar 26, 2012 at 11:42 AM, Christian Siefkes
Also, that example is not really an argument against using list functions on strings (which, by any reasonable definition, seem to be "sequences of characters" -- whether that sequence is represented as a list, an array, or something else, seems more like an implementation detail to me).
The correctness problems isn't that a list is used to represent a sequence. The problem is that that representational detail (and I agree with you it is an implementation of sequence) is made part of the API on strings. -- Gaby