Skip to content
Tcl Source Code Artifact [3dd07af3f5]
Login

Artifact [3dd07af3f5]

Artifact 3dd07af3f56d22e70e0f0aeb7f3a5b7551f6e53a:

Ticket change [3dd07af3f5] - Ticket [1574835fffffffff|1574835fff] <i>wrong#args problem in [apply] guts</i> status still Open with 4 other changes by msofer on 2006-10-11 05:34:02.
D 2006-10-11T05:34:02
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nOohh\s...\snasty,\sthe\serror\smessages\sfor\scurried\slambdas\sare\nnot\squite\sok.\n\n%\sset\slam\s[list\s{self\sx}\s{return\s"[expr\s{$x*$x}]\s-\s$self"}]\n{self\sx}\s{return\s"[expr\s{$x*$x}]\s-\s$self"}\n%\sapply\s$lam\sbar\nwrong\s#\sargs:\sshould\sbe\s"apply\s{{self\sx}\s{return\s"[expr\n{$x*$x}]\s-\s$self"}}\sself\sx"\n%\sinterp\salias\s{}\stry\s{}\sapply\s$lam\sbar\ntry\n%\stry\nwrong\s#\sargs:\sshould\sbe\s"apply\s{{self\sx}\s{return\s"[expr\n{$x*$x}]\s-\s$self"}}\sself\sx"\n\nThat\sshould\sbe\sinstead:\nwrong\s#\sargs:\sshould\sbe\s"try\sx"\n\nOr\sshould\sit?\n%\sinterp\salias\s{}\stry2\s{}\sboo\sbar\ntry2\n%\stry2\nwrong\s#\sargs:\sshould\sbe\s"boo\sself\sx"\n[Side\snote:\sshould\sinterp\salias\srewrite\sthe\serror\smessage\nust\slike\sensemble\saliases?\sProbably\s...]\n\n\nThere\sis\shere\s(I\sthink)\ssome\sinterplay\sbetween\s::apply\nreturning\ssuch\sa\sfunny\serror\smessage\s(with\sa\stwo-word\ncommand\sname,\splenty\sof\sspaces\sin\sthere\stoo)\sand\sthe\nensemble's\srewriting\srules.\n
J login msofer
J mimetype text/plain
J username msofer
K 1574835fffffffffffffffffffffffffffffffff
U msofer
Z cd282833052c70e156cb7b4c8991b471