develooper Front page | perl.perl6.language | Postings from May 2005

Re: Intervals

Thread Previous
Luke Palmer
May 23, 2005 14:06
Re: Intervals
Message ID:
On 5/23/05, Edward Peschko <> wrote:

> They have the intent (Alan Eliasen has the intent) of implementing 'intervals'
> which match fuzzy values where you know an approximate extent of the value, but
> not the value itself. E.g
>         (.5 ... .75) * (.5 ... .8) == (.25 ... .6)
> Given that frink values can have units like gallons or pounds, and they intend on
> tracking accuracy inside of intervals, with different distributions, this is
> especially powerful.
> Is there the intent to have intervals in perl6, or would it be better just to
> port frink to parrot and be done with it?

I think this is best left up to frink or CPAN (or a frink interface on
CPAN).  Interval arithmetic looks nice at first, but can get subtle
when dealing with powers, and insane when dealing with functions like


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About