about summary refs log tree commit diff
path: root/ach/functions.ach
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2021-03-07T20·29-0500
committerGriffin Smith <root@gws.fyi>2021-03-07T20·29-0500
commit80f8ede0bbc9799d5199707e1e1ad8e80e4ca7ac (patch)
treecbb418b042583714fe09f946f1b9a03d1d98857f /ach/functions.ach
Initial commit
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