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.ach5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/glittershark/achilles/ach/functions.ach b/users/glittershark/achilles/ach/functions.ach
index 0d2f07eff574..dc6e7a1f3e34 100644
--- a/users/glittershark/achilles/ach/functions.ach
+++ b/users/glittershark/achilles/ach/functions.ach
@@ -1,3 +1,8 @@
+ty id : fn a -> a
 fn id x = x
+
+ty plus : fn int -> int
 fn plus (x: int) (y: int) = x + y
+
+ty main : fn -> int
 fn main = plus (id 2) 7