[Swift-devel] Associative array in Swift [GSoC]

Yadu Nand yadudoc1729 at gmail.com
Fri Jun 17 09:56:42 CDT 2011


Hi,

I've been working on implementing Associative arrays in swift for the
past couple of weeks. So far I've gotten simple strings to work as
valid array subscripts, which means that the following works :

int a[ ];
a["zero"] = 100 ;
trace ( a["zero"] ) ;

I've posted the edits on the google docs page[1] I had shared earlier.
I think I should probably host the code somewhere so that its available
for review.

Comments and suggestions would be greatly appreciated.

[1] https://docs.google.com/document/d/1z5UvA2yUM_NjaATn-_YzH1EQUBrJvn2dMCT-nWIffLk/edit?hl=en_US
-- 
Thanks and Regards,
Yadu Nand B



More information about the Swift-devel mailing list