Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
trie-grondilu: fix error with postfix condition.
Not yet sure how this broke, investigating what might be more or less
tightly bound under GLR.
  • Loading branch information
kanatohodets committed Aug 28, 2015
1 parent 55ec5cb commit 115ad18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion categories/rosalind/trie-grondilu.pl
Expand Up @@ -75,7 +75,9 @@ (@string is copy, $root = $node)
hash gather for @string.classify(*.substr: 0, 1).sort(*.key)>>.kv -> ($k, $v) {
my @value = map *.substr(1), grep *.chars > 1, $v[];
say "$root {++$node} $k";
take $k => &?ROUTINE( @value, $node ) if @value;
if (@value) {
take $k => &?ROUTINE( @value, $node );
}
}
}

Expand Down

0 comments on commit 115ad18

Please sign in to comment.