develooper Front page | perl.perl6.language | Postings from January 2004

Re: Semantics of vector operations

Thread Previous | Thread Next
Luke Palmer
January 31, 2004 14:13
Re: Semantics of vector operations
Message ID:
I wrote:
> But I think that literal >> and << are quite nice alternatives for » and
> « [1], and if the only think that's holding us back is the bitshift
> operators, we should kill them -- turn them into functions or something.
> C<shl> and C<shr> aren't so bad, are they?

Or named operators.  As in:

    $bits = ($high shl 4) +| $low;


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About