1Builtins.Unguarded_Guard(3kayaK)aya module referenBcueiltins.Unguarded_Guard(3kaya)
2
3
4
6 Builtins::Unguarded_Guard - Unexpected case in shorthand
7
9 Builtins::Unguarded_Guard(
10
12 This Exception is thrown when a shorthand syntax is used and an unex‐
13 pected case occurs.
14
15
16 Int mag(Int x) | x<0 = -x;
17 | x>0 = x;
18 //Calling this function with x==0 throws this exception
19
21 Kaya standard library by Edwin Brady, Chris Morris and others
22 (kaya@kayalang.org). For further information see http://kayalang.org/
23
25 The Kaya standard library is free software; you can redistribute it
26 and/or modify it under the terms of the GNU Lesser General Public
27 License (version 2.1 or any later version) as published by the Free
28 Software Foundation.
29
30
31
32Kaya December 2010 Builtins.Unguarded_Guard(3kaya)