Talk:Brace expansion: Difference between revisions
Content added Content deleted
(→Duplicate supression: new section) |
(→Duplicate supression: nothing to do with duplicates, methinks) |
||
Line 25: | Line 25: | ||
This means either the task description is buggy or the reference implementation is buggy. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 18:31, 31 January 2014 (UTC) |
This means either the task description is buggy or the reference implementation is buggy. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 18:31, 31 January 2014 (UTC) |
||
:Well, I believe the task actually refers to the Perl (5) implementation, not the Perl 6 one. But leaving that aside, there's no duplicate suppression taking place here. Note what happens when I run these (through the Perl 6 version): |
|||
<pre>{X,{Y,gotta have{ ,\, again\, }}more }cowbell! |
|||
Xcowbell! |
|||
Ymore cowbell! |
|||
gotta have more cowbell! |
|||
gotta have\, again\, more cowbell! |
|||
{a,a,b} |
|||
a |
|||
a |
|||
b</pre> |
|||
:We still get four entries for the first one, and the dupes aren't removed from the second one. I don't know what you're doing different, offhand, perhaps not throwing away stuff when you backtrack? --[[User:TimToady|TimToady]] ([[User talk:TimToady|talk]]) 18:54, 31 January 2014 (UTC) |