apply man page example error
Closed / Out of Date1855666fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-12-21 11:36:00
The 8.5.0 man page for the new "apply" command contains this example in the EXAMPLES section:
proc map {lambda list} {
set result {}
foreach $item $list {
lappend result [apply $lambda $item]
}
return $result
}
Unfortunately, it fails to work - the foreach line should start :
foreach item ...
not
foreach $item ...
kieranelbyplain2007-12-21 19:16:05
Logged In: YES user_id=99072 Originator: YES Sorry - I should have checked more thoroughly - this already seems to be fixed (in the source distribution at least). However, the web page here is still incorrect: http://www.tcl.tk/man/tcl8.5/TclCmd/apply.htm
dkfplain2007-12-22 04:25:57
Logged In: YES user_id=79902 Originator: NO Site's already updated.
Log in (anonymous is fine) to add a comment.