1Prelude.thunk(3kaya) Kaya module reference Prelude.thunk(3kaya)
2
3
4
6 Prelude::thunk - Turn a value into a function.
7
9 a() thunk( a val )
10
12 val The value to convert
13
15 For a given value, create a function that returns that value.
16
18 Kaya standard library by Edwin Brady, Chris Morris and others
19 (kaya@kayalang.org). For further information see http://kayalang.org/
20
22 The Kaya standard library is free software; you can redistribute it
23 and/or modify it under the terms of the GNU Lesser General Public
24 License (version 2.1 or any later version) as published by the Free
25 Software Foundation.
26
28 The inverse of Prelude.force (3kaya)
29
30
31
32Kaya December 2010 Prelude.thunk(3kaya)