Talk:Range consolidation: Difference between revisions

m
m (→‎Perl 6 oddity: removed)
Line 70:
 
::: I would also like to know what the Perl 6 "ranges" of [2] and [5,9,8] mean. Maybe [] => not a range, discard/ignore, else length!=2 ==> [min(),max()]? Either that should become part of the task description, or the Perl 6 entry should either explain or cull them. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 20:04, 30 March 2019 (UTC)
 
: That was intended to show that it dealt gracefully with "error" conditions. Much as you suspect, it pulls out the min and max values and uses them for the min and max of the range. Removed those test values to reduce confusion and comply with a strict interpretation of the task description. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 11:24, 31 March 2019 (UTC)
 
==A better-defined notation ?==
10,327

edits