Kaya 0.5.3 reference for Dict::new

List of functions and data types in Dict

Dict<a, b> new(Int buckets=157, Int(a) hashfn=hash)

Arguments

Usage

Create a new dictionary.

d = Dict::new(); // 157 buckets, default hashing function
d = Dict::new(31,strHash); // 31 buckets, String hashing function 
                           // - suitable for holding about 20 values.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya