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