Kaya 0.5.3 reference for Dict::lookup

List of functions and data types in Dict

Maybe<b> lookup(TinyDict<a, b> dict, a key)

Arguments

Usage

Look up a value in a tiny dictionary. Returns nothing if the key does not exist, or just(x) if it maps to x.

Related

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