Thread overview | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
October 07, 2015 Categorizing Ranges | ||||
---|---|---|---|---|
| ||||
I'm looking for ideas on how to label the ranges returned from take and drop. Some examples of what I think are appropriate categories for other types of ranges: Generative - iota, recurrence, sequence Compositional - chain, roundRobin, transposed Iterative - retro, stride, lockstep XXX - take, drop What to put into the XXX? I first thought of "Greedy", but that has an association with "greedy algorithms" that I don't really like. That led to "Selfish", but it's admittedly not that appropriate. Beyond that, I'm stuck. Any and all ideas appreciated. |
October 07, 2015 Re: Categorizing Ranges | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | On Wednesday, 7 October 2015 at 15:06:55 UTC, Mike Parker wrote:
> I'm looking for ideas on how to label the ranges returned from take and drop. Some examples of what I think are appropriate categories for other types of ranges:
>
> Generative - iota, recurrence, sequence
> Compositional - chain, roundRobin, transposed
> Iterative - retro, stride, lockstep
> XXX - take, drop
>
> What to put into the XXX? I first thought of "Greedy", but that has an association with "greedy algorithms" that I don't really like. That led to "Selfish", but it's admittedly not that appropriate. Beyond that, I'm stuck. Any and all ideas appreciated.
eager
|
October 07, 2015 Re: Categorizing Ranges | ||||
---|---|---|---|---|
| ||||
Posted in reply to Big Daddy | On Wednesday, 7 October 2015 at 15:13:17 UTC, Big Daddy wrote:
> On Wednesday, 7 October 2015 at 15:06:55 UTC, Mike Parker wrote:
>> I'm looking for ideas on how to label the ranges returned from take and drop. Some examples of what I think are appropriate categories for other types of ranges:
>>
>> Generative - iota, recurrence, sequence
>> Compositional - chain, roundRobin, transposed
>> Iterative - retro, stride, lockstep
>> XXX - take, drop
>>
>> What to put into the XXX? I first thought of "Greedy", but that has an association with "greedy algorithms" that I don't really like. That led to "Selfish", but it's admittedly not that appropriate. Beyond that, I'm stuck. Any and all ideas appreciated.
>
> eager
Eager is far more general. Also, while the drop* functions are eager, the take* functions are not.
- Jonathan M Davis
|
October 07, 2015 Re: Categorizing Ranges | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | On 10/07/2015 08:06 AM, Mike Parker wrote:
> I'm looking for ideas on how to label the ranges returned from take and
> drop. Some examples of what I think are appropriate categories for other
> types of ranges:
>
> Generative - iota, recurrence, sequence
> Compositional - chain, roundRobin, transposed
> Iterative - retro, stride, lockstep
> XXX - take, drop
>
> What to put into the XXX? I first thought of "Greedy", but that has an
> association with "greedy algorithms" that I don't really like. That led
> to "Selfish", but it's admittedly not that appropriate. Beyond that, I'm
> stuck. Any and all ideas appreciated.
Something like shortening, minimizing?
Ali
|
October 07, 2015 Re: Categorizing Ranges | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Wednesday, 7 October 2015 at 15:43:44 UTC, Ali Çehreli wrote:
> On 10/07/2015 08:06 AM, Mike Parker wrote:
> Something like shortening, minimizing?
>
> Ali
Slicing?
|
October 07, 2015 Re: Categorizing Ranges | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | On 07.10.2015 18:06, Mike Parker wrote:
> I'm looking for ideas on how to label the ranges returned from take and
> drop. Some examples of what I think are appropriate categories for other
> types of ranges:
>
> Generative - iota, recurrence, sequence
> Compositional - chain, roundRobin, transposed
> Iterative - retro, stride, lockstep
> XXX - take, drop
>
> What to put into the XXX? I first thought of "Greedy", but that has an
> association with "greedy algorithms" that I don't really like. That led
> to "Selfish", but it's admittedly not that appropriate. Beyond that, I'm
> stuck. Any and all ideas appreciated.
Specifying?
|
October 07, 2015 Re: Categorizing Ranges | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrea Fontana | On Wednesday, 7 October 2015 at 15:46:00 UTC, Andrea Fontana wrote:
> On Wednesday, 7 October 2015 at 15:43:44 UTC, Ali Çehreli wrote:
>> On 10/07/2015 08:06 AM, Mike Parker wrote:
>> Something like shortening, minimizing?
>>
>> Ali
>
> Slicing?
Similar, but that's already a pretty overloaded term, and neither take nor drop requires that a range support slicing.
- Jonathan M Daivs
|
October 07, 2015 Re: Categorizing Ranges | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrea Fontana | On Wednesday, 7 October 2015 at 15:46:00 UTC, Andrea Fontana wrote:
> On Wednesday, 7 October 2015 at 15:43:44 UTC, Ali Çehreli wrote:
>> On 10/07/2015 08:06 AM, Mike Parker wrote:
>> Something like shortening, minimizing?
>
> Slicing?
Partitioning?
|
October 07, 2015 Re: Categorizing Ranges | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Wednesday, 7 October 2015 at 15:43:44 UTC, Ali Çehreli wrote:
>
> Something like shortening, minimizing?
>
> Ali
How about reductive?
|
October 07, 2015 Re: Categorizing Ranges | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | On Wednesday, 7 October 2015 at 16:15:13 UTC, Mike Parker wrote:
> On Wednesday, 7 October 2015 at 15:43:44 UTC, Ali Çehreli wrote:
>>
>> Something like shortening, minimizing?
>>
>> Ali
>
> How about reductive?
subtractive
|
Copyright © 1999-2021 by the D Language Foundation