Re: 8ecf53: [Containers] split pick into pick and roll

2010-09-16 Thread yary
> The last added paragraph says (emphasis mine):
>
> +The default metaphor for _picking_ is that you're pulling colored
> +marbles out a bag and then putting them back. (For "picking without
> replacement" see C instead.)
> +Rolling requires no temporary state.
>
> This is confusing to me. It is supposed to be describing the _roll_
> method (as evidenced by the last sentence). Why does it mention the
> default metaphor for _picking_ instead of the default metaphor of
> _rolling_?


How about,

 The default metaphor for rolling is that you're throwing
 a fair die and noting which side lands. (For "picking without
 replacement" see C instead.)
 Rolling requires no temporary state.

-y


Re: 8ecf53: [Containers] split pick into pick and roll

2010-09-16 Thread jkpeters_37
On Sep 15, 1:58 pm, nore...@github.com wrote:
> Branch: refs/heads/master
> Home:  http://github.com/perl6/specs
>
> Commit: 8ecf53a93a9e9a4a871603b482e41993e085db4f
>    http://github.com/perl6/specs/commit/8ecf53a93a9e9a4a871603b482e41993...
> Author: TimToady 
> Date:   2010-09-15 (Wed, 15 Sep 2010)
>
> Changed paths:
>   M S32-setting-library/Containers.pod
>
> Log Message:
> ---
> [Containers] split pick into pick and roll

The last added paragraph says (emphasis mine):

+The default metaphor for _picking_ is that you're pulling colored
+marbles out a bag and then putting them back. (For "picking without
replacement" see C instead.)
+Rolling requires no temporary state.

This is confusing to me. It is supposed to be describing the _roll_
method (as evidenced by the last sentence). Why does it mention the
default metaphor for _picking_ instead of the default metaphor of
_rolling_?