1Coercions(3kaya) Kaya module reference Coercions(3kaya)
2
3
4
6 Coercions - Function versions of coercions
7
9 This modules defines function versions of the coercions between built-
10 in types. string(x) is equivalent in function to the explicit coercion
11 String(x) but as it may be applied as a function, it may be partially
12 applied, used as a function parameter, etc.
13
14 Additionally, the coercion to Void is defined for discarding the output
15 of a function with side-effects.
16
17 It is automatically imported (via the Prelude module) unless the
18 -noprelude compiler option is used.
19
21 Coercions.array (3kaya)
22 Coercions.char (3kaya)
23 Coercions.float (3kaya)
24 Coercions.float_1 (3kaya)
25 Coercions.int (3kaya)
26 Coercions.int_1 (3kaya)
27 Coercions.int_2 (3kaya)
28 Coercions.string (3kaya)
29 Coercions.string_1 (3kaya)
30 Coercions.string_2 (3kaya)
31 Coercions.string_3 (3kaya)
32 Coercions.string_4 (3kaya)
33 Coercions.void (3kaya)
35 Kaya standard library by Edwin Brady, Chris Morris and others
36 (kaya@kayalang.org). For further information see http://kayalang.org/
38 The Kaya standard library is free software; you can redistribute it
39 and/or modify it under the terms of the GNU Lesser General Public
40 License (version 2.1 or any later version) as published by the Free
41 Software Foundation.
42
43
44
45Kaya December 2010 Coercions(3kaya)