[e-lang] Documentation bug for FlexList
David Hopwood
david.nospam.hopwood at blueyonder.co.uk
Sat Mar 17 23:10:18 CDT 2007
Kevin Reid wrote:
[...]
> Personally, I do not find the notion of "replacing" a subsequence with
> a different-length subsequence at all odd, so I have no problem with
> the replace/5 name. I wouldn't mind changing setRun/3 to replaceRun/3
> if we agree that it's an improvement and that it works with non-list
> objects (or to discard the sugar connection); "insertRun" I find to be
> wrong in the case where the specified range is not zero-length.
Yes, you're right on that point; I had misunderstood the semantics earlier
for non-zero-length ranges.
I still think that the "a(b, c) := d" sugar is not well motivated.
--
David Hopwood <david.nospam.hopwood at blueyonder.co.uk>
More information about the e-lang
mailing list