Scroll to navigation

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

NAME

Dict::dict - Create a dictionary from a list of pairs

SYNOPSIS

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

ARGUMENTS

entries A list of pairs.

DESCRIPTION

Creates a dictionary from an association list (list of key/value pairs). If any keys are repeated, the later value is preferred.

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.
August 2014 Kaya