Last list item: Difference between revisions

m
(Added Quackery.)
m (→‎{{header|Quackery}}: tweaked code)
Line 1,115:
 
<syntaxhighlight lang="Quackery"> [ behead
-1 swap rot witheach
[ 2dup > if
witheach
[ 2dup > iff [ i^ swap
[ dip 2swap drop ]
[ 2drop i^ ]drop ]
drop 1+ ] is least ( [ --> n )
else drop ]
drop 1+ ] is least ( [ --> n )
 
' [ 6 81 243 14 25 49 123 69 11 ]
 
[ dup echo cr
dup size 1 > while
Line 1,132 ⟶ 1,131:
rot + join
again ]
0 peek echo</syntaxhighlight>
</syntaxhighlight>
 
{{out}}
1,462

edits