.
D 2015-06-22T04:56:05.147
J icomment <p><a\shref="http://core.tcl.tk/tcl/artifact/38344c8a167d9207?ln=33-35">lreplace.n</a>\sdoes\snot\ssupport\sthe\stheory\sthat\s1-past-the-end\sis\sa\svalid\sindex\sfor\slreplace:\r\n\r\n<p><i>"For\snon-empty\slists,\sthe\selement\sindicated\sby\sfirst\smust\sexist\sor\sfirst\smust\sindicate\sbefore\sthe\sstart\sof\sthe\slist."</i>\r\n\r\n<p>The\sinterpreted\simplementation\s(referenced\sin\sthis\sticket)\sagrees\swith\sthe\smanual.\s\sThe\scompiled\sversion\s(<a\shref="http://core.tcl.tk/tcl/info/47ac84309b">inconsistently</a>)\scurrently\sdoes\snot\s-\spresumably\sso\sthat\s<tt>end+1</tt>\scan\sbe\sused\sto\sappend.\r\n\r\n<p>Before\sproceeding\sto\sfix\sboth\sthese\stickets,\sI\sthink\swe\sshould\sagree\son\swhether\s<tt>end+1</tt>\sindexes\sshould\sbe\sallowed\sfor\s<tt>lreplace</tt>,\sand\sif\sso,\sstart\sby\scrafting\sa\sclear\sdescription\sfor\sthe\smanual.
J login aspect
J mimetype text/html
K 44fd4b9a4eb9ff5551e8e68d4ffc592946a035e4
U aspect
Z ce1f9fc791b1fd295ff2872700a1a654