about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/11.src12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/11.src b/examples/11.src
new file mode 100644
index 0000000..a572883
--- /dev/null
+++ b/examples/11.src
@@ -0,0 +1,12 @@
+let main = () => {
+	let x = (a) => {
+		print(a);
+		return 1;
+	};
+
+	let y = (f) => {
+		return f(2);
+	};
+
+	return y(x);
+};