From b4bdfe8e752a0540e73fda8c07ea50219a0e4742 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 4 Jun 2023 14:26:39 +0100 Subject: Add hello-world example --- examples/hello-world/shed.toml | 0 examples/hello-world/src/HelloWorld.shed | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 examples/hello-world/shed.toml create mode 100644 examples/hello-world/src/HelloWorld.shed (limited to 'examples') diff --git a/examples/hello-world/shed.toml b/examples/hello-world/shed.toml new file mode 100644 index 00000000..e69de29b 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"); +} -- cgit v1.2.3