D 2015-06-22T04:56:05.147 J icomment

lreplace.n\sdoes\snot\ssupport\sthe\stheory\sthat\s1-past-the-end\sis\sa\svalid\sindex\sfor\slreplace:\r\n\r\n

"For\snon-empty\slists,\sthe\selement\sindicated\sby\sfirst\smust\sexist\sor\sfirst\smust\sindicate\sbefore\sthe\sstart\sof\sthe\slist."\r\n\r\n

The\sinterpreted\simplementation\s(referenced\sin\sthis\sticket)\sagrees\swith\sthe\smanual.\s\sThe\scompiled\sversion\s(inconsistently)\scurrently\sdoes\snot\s-\spresumably\sso\sthat\send+1\scan\sbe\sused\sto\sappend.\r\n\r\n

Before\sproceeding\sto\sfix\sboth\sthese\stickets,\sI\sthink\swe\sshould\sagree\son\swhether\send+1\sindexes\sshould\sbe\sallowed\sfor\slreplace,\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