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