Greatest element of a list: Difference between revisions

→‎{{header|Tailspin}}: Handle also untyped numbers in generic collectors
No edit summary
(→‎{{header|Tailspin}}: Handle also untyped numbers in generic collectors)
Line 4,194:
sink accumulate
<?($@Max <=[]>)
| ?($(by) <$@Max.max(1)..>)> @Max: {max: [$(by), result: $(select)}];
end accumulate
source result
$@Max.result(2) !
end result
end Max
Anonymous user