[Swift-devel] Associative array in Swift [GSoC]
Michael Wilde
wilde at mcs.anl.gov
Fri Jun 17 11:20:11 CDT 2011
Yadu, this is excellent.
Some of the next steps are:
- add tests to the test suite for associative arrays
- look into the behavior of the length() function
- thoroughly test the trunk code with these changes (and possibly without, if you need to determine whether any problems uncovered by the tests are related to your changes or not)
- work with Justin and Mihael and perhaps others on the team to review your changes. - update the user guide to describe the new capability
- commit and announce the new capability
Then you and Justin can go on to work on some new capabilities built on top of associative arrays, such as map-reduce mechanisms.
Nice work on getting to this milestone!
- Mike
----- Original Message -----
> 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
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
--
Michael Wilde
Computation Institute, University of Chicago
Mathematics and Computer Science Division
Argonne National Laboratory
More information about the Swift-devel
mailing list