about summary refs log tree commit diff
path: root/examples/11.src
blob: a5728838c199b5ec89fc290b05063fcd09e49c00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
let main = () => {
	let x = (a) => {
		print(a);
		return 1;
	};

	let y = (f) => {
		return f(2);
	};

	return y(x);
};