.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "Dict.lookup" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" Dict::lookup \- Look up a value in a dictionary. .SH "SYNOPSIS" .B Maybe lookup( \fIDict dict, a key\fP .B ")" .SH "ARGUMENTS" .PP .B "dict" A dictionary .PP .B "key" The key to lookup .SH "DESCRIPTION" .PP Look up a value in a dictionary. Returns \fBnothing \fP if the key does not exist, or \fBjust(x) \fP if it maps to \fBx \fP .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH 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. .SH "RELATED" .PD 0 .PP .B "Dict.Dict"(3kaya) .PP .B "Dict.add"(3kaya) .PP .B "Dict.delete"(3kaya) .PP .B "Dict.empty"(3kaya) .PP .B "Dict.entries"(3kaya) .PP .B "Dict.exists"(3kaya) .PP .B "Dict.keys"(3kaya) .PP .B "Dict.new"(3kaya) .PP .B "Dict.vals"(3kaya) .PD 0.4v