2019-01-03 20:05:36 +00:00
|
|
|
public class Id {
|
2019-07-25 20:24:06 +00:00
|
|
|
// a;
|
2019-06-13 12:01:32 +00:00
|
|
|
// id(b){
|
|
|
|
// return b;
|
|
|
|
// }
|
|
|
|
id2 = x -> x;
|
2019-07-25 20:24:06 +00:00
|
|
|
// id2 = () -> {
|
|
|
|
// var x = m(a);
|
|
|
|
// var y = x;
|
|
|
|
// var z = y;
|
|
|
|
// };
|
|
|
|
//
|
|
|
|
// m(a){
|
|
|
|
// return a;
|
|
|
|
// }
|
2019-06-13 12:01:32 +00:00
|
|
|
id3 (x) {
|
2019-07-25 20:24:06 +00:00
|
|
|
return id2.apply(x);
|
|
|
|
}
|
2019-04-05 10:52:28 +00:00
|
|
|
}
|
2019-03-28 15:55:48 +00:00
|
|
|
|