On Friday 12 December 2003 02:39 am, Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Can't define +@ for Symbol (plus ruby install problem)"
>
>     on 03/12/12, "T. Onoma" <transami / runbox.com> writes:
> |As for +@: -@ works fine but +@ acts as if it doesn't exist unless one
> | uses paraethesis.
>
> Unary plus is used as an identity operator.  Do you really want to use
> that?   Hmm.
>
> 							matz.

I'm putting together a small type library (maybe called lightype, not sure 
yet), it includes implementation of interface contracts, Euphoria like type 
system, and attribute casting. For the last, I have made a simpler way to 
define attibutes like this:

  attribute :a, +:r, -:w

This makes three attributes, :a is an accessor, :r is a reader, :w is a 
writer.

-- 
T.