..
Posted to
tcl
by Guest86 at Fri Dec 19 01:27:52 GMT 2025
view raw
set
P \
{L\ n {
expr
{
$n
?[P [lmap i
$L
{
incr
t
$i
}] [
expr
$n
-1]]:
$L
}}}
lmap L\ n {
{-3 4 7 -1 15} 1
{-3 4 7 -1 15} 3
} {
puts
"\[
$L
\]
$n
:\n[apply
$P
$L
$n
]\n"
}
Recent Posts
tcl by hardkorebob
1 days ago
tcl by hardkorebob
1 days ago
tcl by iobates
2 days ago
tcl by mookie
3 days ago
tcl by mookie
3 days ago
tcl by sebres
4 days ago
tcl by iobates
6 days ago
tcl by iobates
7 days ago
tcl by mookie
7 days ago
tcl by mookie
7 days ago
Submit
New paste
Documentation
From Jabber