about summary refs log tree commit diff
path: root/ach/functions.ach
diff options
context:
space:
mode:
Diffstat (limited to 'ach/functions.ach')
-rw-r--r--ach/functions.ach3
1 files changed, 3 insertions, 0 deletions
diff --git a/ach/functions.ach b/ach/functions.ach
new file mode 100644
index 000000000000..8d91564c1559
--- /dev/null
+++ b/ach/functions.ach
@@ -0,0 +1,3 @@
+fn id x = x
+fn plus x y = x + y
+fn main = plus (id 2) 7