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

Intervals

Thread Next
From:
Edward Peschko
Date:
May 23, 2005 13:56
Subject:
Intervals
Message ID:
20050523181837.GA3068@venus

Just came across something cool on the frink mailing list - was 
wondering if perl6 had any intention on implementing this, or if not natively,
ideas on what would be the best way of implementing it in perl6. 


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?

Ed

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About