Coercions.3kaya

Langue: en

Version: March 2009 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Coercions - Function versions of coercions

DESCRIPTION

This modules defines function versions of the coercions between built-in types. string(x) is equivalent in function to the explicit coercion String(x) but as it may be applied as a function, it may be partially applied, used as a function parameter, etc.

Additionally, the coercion to Void is defined for discarding the output of a function with side-effects.

It is automatically imported (via the Prelude module) unless the -noprelude compiler option is used.

FUNCTIONS

Coercions.array(3kaya)

Coercions.char(3kaya)

Coercions.float(3kaya)

Coercions.float_1(3kaya)

Coercions.int(3kaya)

Coercions.int_1(3kaya)

Coercions.int_2(3kaya)

Coercions.string(3kaya)

Coercions.string_1(3kaya)

Coercions.string_2(3kaya)

Coercions.string_3(3kaya)

Coercions.string_4(3kaya)

Coercions.void(3kaya)

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.