<i>Tutorial lesson 15 uses listName inconsistently with lappend/linsert/lreplace</i> status still Open with 5 other changes
by
.
D 2016-08-24T00:03:17.148
J comment The\scommand\ssignatures\sfor\slappend,\slinsert,\sand\slreplace\sare\spresented\sin\sLesson\s15\sof\sthe\stutorial\s("Adding\s&\sDeleting\smembers\sof\sa\slist")\sas\sfollows.\r\n\r\nlappend\slistName\s?arg1\sarg2\s...\sargn?\r\nlinsert\slistName\sindex\sarg1\s?arg2\s...\sargn?\r\nlreplace\slistName\sfirst\slast\s?arg1\s...\sargn?\r\n\r\nThe\slatter\sshould\sread\slike\sthis\sinstead.\r\n\r\nlinsert\slist\sindex\sarg1\s?arg2\s...\sargn?\r\nlreplace\slist\sfirst\slast\s?arg1\s...\sargn?\r\n\r\nAccording\sto\sthe\stutorial,\sthe\sfollowing\sinteractive\ssession\sshould\sset\s`otherlist`\sto\s`{{one}\s{oneandahalf}\s{two}\s{three}\s{four}}`,\sreturn\s`two`\sfrom\sthe\scorresponding\s`lindex`\scommand,\sset\s`replacementlist`\sto\s{{one}\s{two}\s{tres}\s{cuatro}}`,\sand\sreturn\s`cuatro`\sfrom\sthe\scorresponding\s`lindex`\scommand.\r\n\r\n\s\s\s\s%\sset\smylist\s[list\sone\stwo\sthree]\r\n\s\s\s\sone\stwo\sthree\r\n\s\s\s\s%\slappend\smylist\sfour\r\n\s\s\s\sone\stwo\sthree\sfour\r\n\s\s\s\s%\slindex\s$mylist\s3\r\n\s\s\s\sfour\r\n\s\s\s\s%\sset\sotherlist\s[linsert\smylist\s1\soneandahalf]\r\n\s\s\s\smylist\soneandahalf\r\n\s\s\s\s%\slindex\s$otherlist\s2\r\n\s\s\s\s%\sset\sreplacementlist\s[lreplace\smylist\s2\s3\stres\scuatro]\r\n\s\s\s\smylist\stres\scuatro\r\n\s\s\s\s%\slindex\s$replacementlist\s3\r\n\s\s\s\s%
J icomment Edited\stitle\sand\sdescription\sto\scover\s`lreplace`\stoo.
J login neirbowj
J mimetype text/plain
J title Tutorial\slesson\s15\suses\slistName\sinconsistently\swith\slappend/linsert/lreplace
K f8bc8efdf547eb8ddd92218ee1f8d91d0e0b4937
U neirbowj
Z 0d3ec7d8821366f539503a0f0ea794d0