Re: [Factor-talk] n-slice

2013-04-14 Thread Joe Groff
will give you a sequences-of-sequences view over an existing sequence. -Joe On Sun, Apr 14, 2013 at 6:18 AM, mr w wrote: > On Sun, Apr 14, 2013 at 9:10 AM, Samuel Tardieu wrote: > > > > > > > > 2013/4/14 Boyko Bantchev > >> > >> On 14 April 2013 15:03, Samuel Tardieu wrote: > >> > If you s

Re: [Factor-talk] n-slice

2013-04-14 Thread Boyko Bantchev
On 14 April 2013 16:10, Samuel Tardieu wrote: > My point was that there isn't a one-suits-them-all solution for grouping an > arbitrary sized sequence into a fixed number of slices. I did understand that and I fully agree. And my point was to propose a definition that: • enjoys an unambiguousl

Re: [Factor-talk] n-slice

2013-04-14 Thread mr w
On Sun, Apr 14, 2013 at 9:10 AM, Samuel Tardieu wrote: > > > > 2013/4/14 Boyko Bantchev >> >> On 14 April 2013 15:03, Samuel Tardieu wrote: >> > If you start with a sequence of length 6, how do you split it into 4 >> > slices? >> > 1 1 1 3? 2 2 2 0? 3 2 1 0? >> >> I would think of 2 2 1 1, which

Re: [Factor-talk] n-slice

2013-04-14 Thread Samuel Tardieu
2013/4/14 Boyko Bantchev > On 14 April 2013 15:03, Samuel Tardieu wrote: > > If you start with a sequence of length 6, how do you split it into 4 > slices? > > 1 1 1 3? 2 2 2 0? 3 2 1 0? > > I would think of 2 2 1 1, which is monotonically non-increasing and > has minimal variation. > My point

Re: [Factor-talk] n-slice

2013-04-14 Thread mr w
On Sun, Apr 14, 2013 at 9:07 AM, Boyko Bantchev wrote: > On 14 April 2013 15:03, Samuel Tardieu wrote: >> If you start with a sequence of length 6, how do you split it into 4 slices? >> 1 1 1 3? 2 2 2 0? 3 2 1 0? > > I would think of 2 2 1 1, which is monotonically non-increasing and > has minima

Re: [Factor-talk] n-slice

2013-04-14 Thread Boyko Bantchev
On 14 April 2013 15:03, Samuel Tardieu wrote: > If you start with a sequence of length 6, how do you split it into 4 slices? > 1 1 1 3? 2 2 2 0? 3 2 1 0? I would think of 2 2 1 1, which is monotonically non-increasing and has minimal variation. ---

Re: [Factor-talk] n-slice

2013-04-14 Thread mr w
On Sun, Apr 14, 2013 at 8:38 AM, mr w wrote: > On Sun, Apr 14, 2013 at 8:03 AM, Samuel Tardieu wrote: >> >> >> >> 2013/4/14 mr w >>> >>> >>> Could also imagine a "slices-n" word, that attempts to chop a sequence >>> into slices of length n. >> >> >> How would that be different from ? >> >>> Is t

Re: [Factor-talk] n-slice

2013-04-14 Thread mr w
On Sun, Apr 14, 2013 at 8:03 AM, Samuel Tardieu wrote: > > > > 2013/4/14 mr w >> >> >> Could also imagine a "slices-n" word, that attempts to chop a sequence >> into slices of length n. > > > How would that be different from ? > >> Is there an "n-slices" word, that attempts to chop a sequence int

Re: [Factor-talk] n-slice

2013-04-14 Thread Samuel Tardieu
2013/4/14 mr w > > Could also imagine a "slices-n" word, that attempts to chop a sequence > into slices of length n. > How would that be different from ? Is there an "n-slices" word, that attempts to chop a sequence into n slices? > If you start with a sequence of length 6, how do you split it

[Factor-talk] n-slice

2013-04-14 Thread mr w
Is there an "n-slices" word, that attempts to chop a sequence into n slices? Could also imagine a "slices-n" word, that attempts to chop a sequence into slices of length n. Should be easy to code with head-slice and rest-slice, but I'm not playing with a full deck of cards yet when it comes to Fa