[all packages]
[package ]
[class hierarchy]
[index]
java.lang.Object
|
+----Printable
|
+----PremonJJTNode
|
+----PremonJJTPat
|
+----PremonJJTPatBindFunCurried
public class PremonJJTPatBindFunCurried extends PremonJJTPat
A pattern binding C x T1 ... Tn : U which is sugar for x : C T1 ... Tn : U.
In turn, C T1 T2 ... Tn : U is sugar for val T1 : C T2 ... Tn : U.By default, the return type is ().
For example:
proc x (int) : int is sugar for x : proc (int) : int
proc x(int) (int) : int is sugar for x val (int) : proc (int) : int
proc if (bool) (proc ()) (proc ()) is sugar for if : val (bool) : val (proc () : ()) : proc (proc () : ()) : ()

PremonJJTPatBindFunCurried(int)

desugar()
print(Printer)

PremonJJTPatBindFunCurriedpublic PremonJJTPatBindFunCurried(int id);

printpublic void print(Printer p);
public PremonPat desugar();
[all packages]
[package ]
[class hierarchy]
[index]