On Mon, 29 Jul 2002, Nicholas Clark wrote::-) the Positivity operator ("happy face")
> [Maybe we should have a competition to suggest the most crazy three character
> operator - ie state your sequence of three characters (not necessarily ASCII,
> but it helps), state their name, and state their purpose (including whether
> listop, binop, uniop, precedence, associativity or whatever else helps make
> your entry more humorous. So presumably there could be a :-) operator, but
> offhand I can't think of something plausible it could do. And does the
> tie-fighter need an X-wing operator to complement it? (not sure what that
> one would look like, let alone what it would do)]
On the left-hand side of an expression, it tests whether the
expression contains a positive value. On the right-hand side, it
transforms the results of the expression into a positive value.
How it does this is implementation dependent.
This operator has right-hand side precendence.
Other operators in this vein are :-(, the "Negativity" operator, and :-|,
print :-) "-1"; # prints "0"
What we really need are see no evil, hear no evil, speak no evil
And on a complete aside, here is something I dug up in 'fortune'. Some of
Proposed Additions to the PDP-11 Instruction Set:
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.