Skip to content

Commit

Permalink
Give t9_find_words a nicer documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz Sośnierz committed Apr 14, 2012
1 parent ebf7f49 commit 1632a7f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Text/T9.pm
Expand Up @@ -23,7 +23,7 @@ my %default-keys;
%default-keys{$_} = 8 for <t u v>;
%default-keys{$_} = 9 for <w x y z>;

#= get a list of matching words
#= get a list of words from @words matching $input
sub t9_find_words(Int $input as Str, @words, %optkeys?) is export {
my %keys = %default-keys, %optkeys;
gather for @words -> $candidate {
Expand All @@ -33,5 +33,3 @@ sub t9_find_words(Int $input as Str, @words, %optkeys?) is export {
}
}
}


0 comments on commit 1632a7f

Please sign in to comment.