Front page | perl.perl6.internals |
Postings from May 2005
re: Keys
Thread Previous
|
Thread Next
From:
TOGoS
Date:
May 31, 2005 19:10
Subject:
re: Keys
Message ID:
20050601021042.22209.qmail@web32914.mail.mud.yahoo.com
> The 'used as' type indicates whether this key
> is to be used to do a by-integer-index (array)
> access or by-string-index (hash) access.
Why not extend this to properties, too?
foo['hello'] becomes
'hello'
string
as-offset
foo{'hello'} becomes
'hello'
string
as-hash
foo.hello becomes
'hello'
string
as-property
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
Thread Previous
|
Thread Next