Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-02-15 Thread Bruno P. Kinoshita
uary 2012 7:33 PM >Subject: Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed >intervals > >On Tue, Feb 14, 2012 at 3:00 PM, Bruno P. Kinoshita > wrote: >> Hi all, >> >> Looks like the initial code [1] for the Generators API in Apache Commons >>

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-02-14 Thread Matt Benson
/yields-tests/tree/master/src/main/java/sample/yield > [6] http://www.opensource.org/licenses/bsd-license.php > > > Cheers, > > Bruno P. Kinoshita > http://kinoshita.eti.br > http://tupilabs.com > > >> >> From: Adrian Crum >>To: Comm

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-02-14 Thread Bruno P. Kinoshita
.opensource.org/licenses/bsd-license.php Cheers, Bruno P. Kinoshita http://kinoshita.eti.br http://tupilabs.com > > From: Adrian Crum >To: Commons Developers List >Sent: Tuesday, 24 January 2012 7:21 PM >Subject: Re: [functor] CharacterRange, FloatR

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Adrian Crum
Para: Commons Developers List Cc: Enviadas: Terça-feira, 24 de Janeiro de 2012 18:30 Assunto: Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals On 1/24/2012 8:15 PM, Matt Benson wrote: Thanks for your interest, Adrian! Comments inline: On Tue, Jan 24, 2012 at 1

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Bruno P. Kinoshita
CharacterRange, FloatRange, DoubleRange and > open/closed intervals > > On 1/24/2012 8:15 PM, Matt Benson wrote: >>  Thanks for your interest, Adrian!  Comments inline: >> >>  On Tue, Jan 24, 2012 at 1:58 PM, Adrian Crum >>    wrote: >>>  On 1/24/2012 6:58 PM, Mat

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Bruno P. Kinoshita
ook for FP resources to see if there is anything that could give us > more understanding on the Generator API. > > I will do the same. > > Regards, > Matt > >>  This could be useful as documentation in the project website too. >> >>>  Thanks for your ongoing i

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Adrian Crum
On 1/24/2012 8:15 PM, Matt Benson wrote: Thanks for your interest, Adrian! Comments inline: On Tue, Jan 24, 2012 at 1:58 PM, Adrian Crum wrote: On 1/24/2012 6:58 PM, Matt Benson wrote: IMO the difference between [lang]'s and [functor]'s range concepts is that those in [lang] are intended to

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Matt Benson
Thanks for your interest, Adrian! Comments inline: On Tue, Jan 24, 2012 at 1:58 PM, Adrian Crum wrote: > On 1/24/2012 6:58 PM, Matt Benson wrote: >> >> IMO the difference between [lang]'s and [functor]'s range concepts is that >> those in [lang] are intended to be able to say whether a given val

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Adrian Crum
On 1/24/2012 6:58 PM, Matt Benson wrote: IMO the difference between [lang]'s and [functor]'s range concepts is that those in [lang] are intended to be able to say whether a given value is in the Range, but, with the exception of CharRange (this class is not even public), they make no provision

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Matt Benson
tion in the project website too. > >> Thanks for your ongoing interest, >> Matt > > Thank you Matt! > > All the best, > > Bruno P. Kinoshita > http://kinoshita.eti.br > http://tupilabs.com > > > - Mensagem original - >> De: Matt Benson

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Bruno P. Kinoshita
Matt Thank you Matt! All the best, Bruno P. Kinoshita http://kinoshita.eti.br http://tupilabs.com - Mensagem original - > De: Matt Benson > Para: Commons Developers List ; Bruno P. Kinoshita > > Cc: > Enviadas: Segunda-feira, 23 de Janeiro de 2012 14:21 > Assunto: Re: [f

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-23 Thread Matt Benson
Hi, Bruno; my thoughts inline... On Sun, Jan 22, 2012 at 6:15 PM, Bruno P. Kinoshita wrote: > Hi all, > > In functor, there are two ranges available: IntegerRange and LongRange. Both > use a closed open interval, i.e., the low limit is included in the range, > while the high limit is not. > > I

[functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-22 Thread Bruno P. Kinoshita
Hi all,  In functor, there are two ranges available: IntegerRange and LongRange. Both use a closed open interval, i.e., the low limit is included in the range, while the high limit is not.  In Perl, we can create a range of numbers too, using the range operator (..). Something like 0..10. What