aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-06-04 14:26:39 +0100
committerMichael Williamson <mike@zwobble.org>2023-06-04 14:26:39 +0100
commitb4bdfe8e752a0540e73fda8c07ea50219a0e4742 (patch)
treeec5aad40576d904b74c766de8803c18b799ef74b /examples
parent56db4ce602a8b888bdbc42546bfc3f6ae9f25234 (diff)
Add hello-world example
Diffstat (limited to 'examples')
-rw-r--r--examples/hello-world/shed.toml0
-rw-r--r--examples/hello-world/src/HelloWorld.shed3
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/hello-world/shed.toml b/examples/hello-world/shed.toml
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/examples/hello-world/shed.toml
diff --git a/examples/hello-world/src/HelloWorld.shed b/examples/hello-world/src/HelloWorld.shed
new file mode 100644
index 00000000..e2d8d187
--- /dev/null
+++ b/examples/hello-world/src/HelloWorld.shed
@@ -0,0 +1,3 @@
+fun main() ! Io -> Unit {
+ print!("hello, world\n");
+}