about summary refs log tree commit diff
path: root/users/aspen/achilles/ach/units.ach
diff options
context:
space:
mode:
Diffstat (limited to 'users/aspen/achilles/ach/units.ach')
-rw-r--r--users/aspen/achilles/ach/units.ach7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/aspen/achilles/ach/units.ach b/users/aspen/achilles/ach/units.ach
new file mode 100644
index 0000000000..70635d978c
--- /dev/null
+++ b/users/aspen/achilles/ach/units.ach
@@ -0,0 +1,7 @@
+extern puts : fn cstring -> int
+
+ty print : fn cstring -> ()
+fn print x = let _ = puts x in ()
+
+ty main : fn -> int
+fn main = let _ = print "hi" in 0