From 6ead9f417fabd55cc26a93c6d54bdde1110fccd4 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 2 Feb 2025 19:10:44 +0000 Subject: Add runtime support for relational int operations --- examples/10-while/src/Counting.shed | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 examples/10-while/src/Counting.shed (limited to 'examples/10-while/src') diff --git a/examples/10-while/src/Counting.shed b/examples/10-while/src/Counting.shed deleted file mode 100644 index aa95f536..00000000 --- a/examples/10-while/src/Counting.shed +++ /dev/null @@ -1,18 +0,0 @@ -fun message(count: Int) -> String { - if (count == 1) { - "one\n" - } else if (count == 2) { - "two\n" - } else { - "many\n" - } -} - -pub fun main() ! Io -> Unit { - var count = 1; - - while (count != 4) { - print!(message(count)); - assign count = count + 1; - } -} -- cgit v1.2.3