Hi,
I've changed the function declaration attribute processing and moved
the quote operator delimiters around to make it *slightly* more
pretty. I assume the rest could be done with a source filter. Or one
could use a source filter to begin with...
So now it might look like
use Attribute::Inline;
sub add :C(int x, int y => int) {q{
return x + y;
}}
sub subtract :C(int x, int y => int) {q{
return x - y;
}}
print "9 + 16 = ", add(9, 16), "\n";
print "9 - 16 = ", subtract(9, 16), "\n";
Marcel
--
my int ($x, $y, $z, $n); $x**$n + $y**$n = $z**$n is insoluble if $n > 2;
I have discovered a truly remarkable proof which this signature is too
short to contain. (20 Aug 2001: Pierre de Fermat's 400th birthday)