@@ -42,7+42,7 @@ This module uses the L<B> framework to walk into subroutines and try to guess ho
The usual constructor. Currently takes no argument.
The usual constructor. Currently takes no argument.
-=head2 C<nary $coderf>
+=head2 C<nary $coderef>
Takes a code reference to a named or anonymous subroutine, and returns a hash reference whose keys are the possible numbers of returning scalars, and the corresponding values the "probability" to get them. The special key C<'list'> is used to denote a possibly infinite number of returned arguments. The return value hence would look at
Takes a code reference to a named or anonymous subroutine, and returns a hash reference whose keys are the possible numbers of returning scalars, and the corresponding values the "probability" to get them. The special key C<'list'> is used to denote a possibly infinite number of returned arguments. The return value hence would look at
@@ -102,7+102,7 @@ returns C<3> or C<4> arguments with probability C<1/2> ; and
never returns C<1> argument but returns C<2> with probability C<1/2 * 1/2 = 1/4>, C<3> with probability C<1/2 * 1/2 + 1/2 * 1/2 = 1/2> and C<4> with probability C<1/4> too.
never returns C<1> argument but returns C<2> with probability C<1/2 * 1/2 = 1/4>, C<3> with probability C<1/2 * 1/2 + 1/2 * 1/2 = 1/2> and C<4> with probability C<1/4> too.
-=item * The C<'list'> state is absorbant in regard of all the other ones.
+=item * The C<list> state is absorbing in regard of all the other ones.
This is just a pedantic way to say that "list + fixed length = list".
That's why
This is just a pedantic way to say that "list + fixed length = list".