Scroll to navigation

Dict.entries(3kaya) Kaya module reference Dict.entries(3kaya)

NAME

Dict::entries - List all entries in a tiny dictionary

SYNOPSIS

[Pair<a, b> ] entries( TinyDict<a, b> dict )

ARGUMENTS

dict A tiny dictionary

DESCRIPTION

List all entries in a tiny dictionary (as a list of Tuples.Pair (3kaya) in key-value order). There is no guarantee of any order, although at least within a single program run, identical dictionaries will return identical lists.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Dict.TinyDict (3kaya)
Dict.add_1 (3kaya)
Dict.delete_1 (3kaya)
Dict.empty_1 (3kaya)
Dict.exists_1 (3kaya)
Dict.keys_1 (3kaya)
Dict.lookup_1 (3kaya)
Dict.newTiny (3kaya)
Dict.vals_1 (3kaya)
August 2014 Kaya