Hailo

 view release on metacpan or  search on metacpan

t/lib/Hailo/Test/TimToady.trn  view on Meta::CPAN

42 is an integer, a real, a rational, etc.
don't want slick, I want cute :P
we can also dispatch on specific values
otoh, values are consider an extra constraint, so doesn't dispatch only on the nominal type
(whatever that type is)
just thinking maybe the nominal type of a constant might be possibly be a role like Numeric without committing to a storage type, as long as all such values are distinguishable without consulting the storage type
a variable must have a storage type
but these are constants
I don't have any fixed ideas on this, but it seems like something worth considering
is Inf-time sometime?
as for the bucket, NaNtucket.
the lunch bucket, that is
of course, if IEEE floaters do the right thing with these NaNnies, then maybe we can just go ahead and use Num for mixed-mode operations when it's needed
and then we dont have to write anything special for 'em
yes, Rats
ng: say (1/3).perl
ng: say 9 * 1/9
ng: say "yes" if 1/3 * 3 == 1
don't try that one in Perl 5
bet it doesn't work for other fractions
we don't have an IrRat type
powers of 2 should always work
maybe someone installed a fuzz onto == comparisons since I last looked



( run in 0.836 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )