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

Re: Semantics of vector operations

Thread Previous | Thread Next
From:
Luke Palmer
Date:
January 31, 2004 14:13
Subject:
Re: Semantics of vector operations
Message ID:
20040131221152.GA19955@babylonia.flatirons.org
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;

Luke

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About