Joe Gottman writes:
> How do you declare a function that doesn't return anything? For instance, a
> C++ swap function might be declared
>template
> void swap(X &x, X &y);
>
> It would be nice to declare the corresponding Perl6 function as
> sub swap ($x is rw, $y is rw) returns nothing {.
How do you declare a function that doesn't return anything? For instance, a
C++ swap function might be declared
template
void swap(X &x, X &y);
It would be nice to declare the corresponding Perl6 function as
sub swap ($x is rw, $y is rw) returns nothing {...}
or something similar.
This wo
The Perl 6 Summary of the week ending 20031012
Good afternoon readers. You find me sitting comfortably and tired after
a vaguely frantic week involving large amounts of new (and huge)
equipment, the delivery of a new Mini Cooper, and four days offline at a
large format photography w